mirror of
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation.git
synced 2026-08-24 06:24:19 +02:00
feat(theme): set theme to auto by default
This commit is contained in:
parent
76aba1e548
commit
d2098d3050
1 changed files with 3 additions and 4 deletions
|
|
@ -5,14 +5,14 @@ use iced::{color, Color};
|
|||
/// Color scheme
|
||||
pub enum Theme {
|
||||
#[default]
|
||||
/// `Dark` or `Light`, according to `dark_light`
|
||||
Auto,
|
||||
/// `Dark`-ish and purple
|
||||
Lupin,
|
||||
/// white on black
|
||||
Dark,
|
||||
/// black on white
|
||||
Light,
|
||||
/// `Dark` or `Light`, according to `dark_light`
|
||||
Auto,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
|
|
@ -127,8 +127,7 @@ impl std::fmt::Display for Theme {
|
|||
Self::Dark => "Dark",
|
||||
Self::Light => "Light",
|
||||
Self::Lupin => "Lupin",
|
||||
// should it be "Follow System"?
|
||||
Self::Auto => "Auto (sync on startup)",
|
||||
Self::Auto => "Auto (follow system theme)",
|
||||
}
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue