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

This commit is contained in:
Aria Moradi 2021-06-06 02:05:26 +04:30
commit e4a404472d
2 changed files with 5 additions and 0 deletions

1
dummy Normal file
View File

@ -0,0 +1 @@
bluh

View File

@ -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