Merge branch 'master' of github.com:Suwayomi/Tachidesk

This commit is contained in:
Aria Moradi
2021-06-06 02:05:26 +04:30
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
bluh
@@ -24,6 +24,10 @@ object SystemTray {
CacheUtil.clear(BuildConfig.NAME)
if (System.getProperty("os.name").startsWith("Mac")) {
SystemTray.FORCE_TRAY_TYPE = SystemTray.TrayType.Awt
}
val systemTray = SystemTray.get(BuildConfig.NAME) ?: return null
val mainMenu = systemTray.menu