mirror of
https://github.com/KRTirtho/spotube.git
synced 2026-08-05 19:59:51 +00:00
SystemTrayService now observes settings internally and creates/removes the tray icon when minimizeToTray toggles. No more external start/stop calls from composables — eliminates infinite tray icon recreation. - SystemTrayService init block subscribes to settings changes - Close button uses hideWindow() when tray enabled - Double-click uses hideWindow()/showWindow() for consistent state - main.kt stripped of LaunchedEffect/remember tray management - ApplicationMainBar close button checks minimizeToTray setting |
||
|---|---|---|
| .. | ||
| androidJvmMain/kotlin/dev/krtirtho/spotube/core/newpipe | ||
| androidMain | ||
| commonMain | ||
| commonTest/kotlin/dev/krtirtho/spotube/core | ||
| iosMain/kotlin/dev/krtirtho/spotube | ||
| jvmMain/kotlin/dev/krtirtho/spotube | ||
| jvmTest | ||
| mobileMain/kotlin/dev/krtirtho/spotube/core/ui/component | ||