Skip to content

Commit

Permalink
fix(config): Use actual Theme::default rather than "Dark"
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudxain committed Jul 4, 2024
1 parent 72bf6fa commit 5f43725
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/core/config.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
use crate::core::sync::{get_android_sdk, User};
use crate::core::utils::DisplayablePath;
use crate::core::{
sync::{get_android_sdk, User},
theme::Theme,
};
use crate::gui::views::settings::Settings;
use crate::CACHE_DIR;
use crate::CONFIG_DIR;
Expand Down Expand Up @@ -43,7 +46,7 @@ pub struct DeviceSettings {
impl Default for GeneralSettings {
fn default() -> Self {
Self {
theme: String::from("Dark"),
theme: Theme::default().to_string(),
expert_mode: false,
backup_folder: CACHE_DIR.join("backups"),
}
Expand Down

0 comments on commit 5f43725

Please sign in to comment.