mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 04:00:28 +08:00
custom show tray icon
Closes #1569 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -149,7 +149,8 @@ abstract class SettingBoxKey {
|
||||
windowPosition = 'windowPosition',
|
||||
isWindowMaximized = 'isWindowMaximized',
|
||||
showWindowTitleBar = 'showWindowTitleBar',
|
||||
desktopVolume = 'desktopVolume';
|
||||
desktopVolume = 'desktopVolume',
|
||||
showTrayIcon = 'showTrayIcon';
|
||||
|
||||
static const String subtitlePreferenceV2 = 'subtitlePreferenceV2',
|
||||
enableDragSubtitle = 'enableDragSubtitle',
|
||||
|
||||
@@ -861,4 +861,7 @@ abstract class Pref {
|
||||
|
||||
static bool get enableTapDm =>
|
||||
_setting.get(SettingBoxKey.enableTapDm, defaultValue: true);
|
||||
|
||||
static bool get showTrayIcon =>
|
||||
_setting.get(SettingBoxKey.showTrayIcon, defaultValue: true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user