feat(settings): add system tray settings
Add tray icon configuration options: - Enable/disable tray icon (requires restart) - Minimize to tray: hide window when clicking minimize - Close to tray: hide window instead of quitting Rust backend: TraySettingsState with SQLite persistence Frontend: SettingsView tray subsection with toggles Related to #15 (title bar settings)
This commit is contained in:
1 parent
3fb597f3fb
commit
077aa01356
7 files changed
+369
-8
No files matched your search
@@ -14,6 +14,7 @@ pub mod download_settings;
|
||||
pub mod playback_preferences;
|
||||
pub mod favorites_preferences;
|
||||
pub mod subscription_state;
|
||||
pub mod tray_settings;
|
||||
|
||||
pub use audio_settings::{
|
||||
AudioSettings,
|
||||
@@ -55,3 +56,12 @@ pub use subscription_state::{
|
||||
SubscriptionStateStore,
|
||||
create_subscription_state,
|
||||
};
|
||||
|
||||
pub use tray_settings::{
|
||||
TraySettings,
|
||||
TraySettingsState,
|
||||
get_tray_settings,
|
||||
set_enable_tray,
|
||||
set_minimize_to_tray,
|
||||
set_close_to_tray,
|
||||
};
|
||||
Reference in new issue
Block a user