v0.36.23
This commit is contained in:
1 parent
668c908abb
commit
76f42b5864
30 files changed
+191
-72
No files matched your search
@@ -21,6 +21,9 @@ fn default_admin_button_style() -> String {
|
||||
fn default_admin_corner_style() -> String {
|
||||
"default".to_owned()
|
||||
}
|
||||
fn default_admin_stable_dialog_position() -> bool {
|
||||
true
|
||||
}
|
||||
fn default_admin_table_density() -> String {
|
||||
"normal".to_owned()
|
||||
}
|
||||
@@ -131,6 +134,8 @@ struct AdminPreferences {
|
||||
interface_icons: bool,
|
||||
#[serde(default)]
|
||||
logo_animation: bool,
|
||||
#[serde(default = "default_admin_stable_dialog_position")]
|
||||
stable_dialog_position: bool,
|
||||
#[serde(default = "default_admin_button_style")]
|
||||
button_style: String,
|
||||
#[serde(default = "default_admin_corner_style")]
|
||||
@@ -201,6 +206,7 @@ impl Default for AdminPreferences {
|
||||
chart_axes: false,
|
||||
interface_icons: false,
|
||||
logo_animation: false,
|
||||
stable_dialog_position: default_admin_stable_dialog_position(),
|
||||
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