fixing linux stuff
This commit is contained in:
@@ -44,8 +44,6 @@ pub struct DisplaySettings {
|
||||
pub show_spectrum: bool,
|
||||
#[serde(default = "default_true")]
|
||||
pub show_completion: bool,
|
||||
#[serde(default = "default_flash_brightness")]
|
||||
pub flash_brightness: f32,
|
||||
#[serde(default = "default_font")]
|
||||
pub font: String,
|
||||
#[serde(default)]
|
||||
@@ -60,8 +58,6 @@ fn default_font() -> String {
|
||||
"8x13".to_string()
|
||||
}
|
||||
|
||||
fn default_flash_brightness() -> f32 { 1.0 }
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
pub struct LinkSettings {
|
||||
pub enabled: bool,
|
||||
@@ -92,7 +88,6 @@ impl Default for DisplaySettings {
|
||||
show_scope: true,
|
||||
show_spectrum: true,
|
||||
show_completion: true,
|
||||
flash_brightness: 1.0,
|
||||
font: default_font(),
|
||||
color_scheme: ColorScheme::default(),
|
||||
layout: MainLayout::default(),
|
||||
|
||||
Reference in New Issue
Block a user