This commit is contained in:
veeso
2023-02-11 12:23:56 +01:00
parent cb037cfca9
commit 62003308a7
8 changed files with 22 additions and 26 deletions
+4 -4
View File
@@ -33,7 +33,7 @@ impl CheckUpdates {
.foreground(Color::LightYellow)
.rewind(true)
.title("Check for updates?", Alignment::Left)
.value(if enabled { 0 } else { 1 }),
.value(usize::from(!enabled)),
}
}
}
@@ -145,7 +145,7 @@ impl HiddenFiles {
.foreground(Color::LightRed)
.rewind(true)
.title("Show hidden files? (by default)", Alignment::Left)
.value(if enabled { 0 } else { 1 }),
.value(usize::from(!enabled)),
}
}
}
@@ -179,7 +179,7 @@ impl NotificationsEnabled {
.foreground(Color::LightRed)
.rewind(true)
.title("Enable notifications?", Alignment::Left)
.value(if enabled { 0 } else { 1 }),
.value(usize::from(!enabled)),
}
}
}
@@ -213,7 +213,7 @@ impl PromptOnFileReplace {
.foreground(Color::LightBlue)
.rewind(true)
.title("Prompt when replacing existing files?", Alignment::Left)
.value(if enabled { 0 } else { 1 }),
.value(usize::from(!enabled)),
}
}
}