Prechádzať zdrojové kódy

Merge pull request #370 from ReAlign/master

misc:编辑器问题,导致代码多了俩+号
oldj 6 rokov pred
rodič
commit
f7ae2fca6d
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      app/menu/tray.js

+ 2 - 2
app/menu/tray.js

@@ -149,8 +149,8 @@ function makeTray (app, contents, sys_lang = 'en') {
         let contextMenu = Menu.buildFromTemplate(makeMenu(app, list, contents, sys_lang))
         tray.setContextMenu(contextMenu)
         const { ori = '', show = '', tips = '' } = makeTitle(list)
-+       tray.setTitle(show)
-+       tray.setToolTip(ori ? `\n${lang.current_active_hosts}: \n\n${tips}\n` : 'SwitchHosts!')
+        tray.setTitle(show)
+        tray.setToolTip(ori ? `\n${lang.current_active_hosts}: \n\n${tips}\n` : 'SwitchHosts!')
       })
   })