v0.38.4
This commit is contained in:
1 parent
9e81cce271
commit
185d5da6f9
31 files changed
+296
-199
No files matched your search
@@ -24,6 +24,9 @@ fn default_admin_corner_style() -> String {
|
||||
fn default_admin_stable_dialog_position() -> bool {
|
||||
true
|
||||
}
|
||||
fn default_admin_switch_controls() -> bool {
|
||||
true
|
||||
}
|
||||
fn default_admin_table_density() -> String {
|
||||
"normal".to_owned()
|
||||
}
|
||||
@@ -160,6 +163,8 @@ struct AdminPreferences {
|
||||
logo_animation: bool,
|
||||
#[serde(default = "default_admin_stable_dialog_position")]
|
||||
stable_dialog_position: bool,
|
||||
#[serde(default = "default_admin_switch_controls")]
|
||||
switch_controls: bool,
|
||||
#[serde(default = "default_admin_button_style")]
|
||||
button_style: String,
|
||||
#[serde(default = "default_admin_corner_style")]
|
||||
@@ -235,6 +240,7 @@ impl Default for AdminPreferences {
|
||||
interface_icons: false,
|
||||
logo_animation: false,
|
||||
stable_dialog_position: default_admin_stable_dialog_position(),
|
||||
switch_controls: default_admin_switch_controls(),
|
||||
button_style: default_admin_button_style(),
|
||||
corner_style: default_admin_corner_style(),
|
||||
table_density: default_admin_table_density(),
|
||||
|
||||
Reference in new issue
Block a user