1
1
mirror of https://github.com/neosubhamoy/pytubepp-helper.git synced 2026-02-04 11:22:22 +05:30

(feat): added update notification preference toggle in settings

This commit is contained in:
2025-03-01 23:13:44 +05:30
Verified
parent d835184b30
commit 802d8c1eab
10 changed files with 399 additions and 660 deletions

View File

@@ -7,6 +7,7 @@ use std::path::PathBuf;
pub struct Config {
pub port: u16,
pub theme: String,
pub notify_updates: bool,
}
impl Default for Config {
@@ -14,6 +15,7 @@ impl Default for Config {
Self {
port: 3030,
theme: "system".to_string(),
notify_updates: true
}
}
}