mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2025-01-13 01:09:09 +01:00
Merge branch 'master' of github.com:Suwayomi/Tachidesk
This commit is contained in:
commit
e4a404472d
@ -24,6 +24,10 @@ object SystemTray {
|
|||||||
|
|
||||||
CacheUtil.clear(BuildConfig.NAME)
|
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 systemTray = SystemTray.get(BuildConfig.NAME) ?: return null
|
||||||
val mainMenu = systemTray.menu
|
val mainMenu = systemTray.menu
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user