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
+1 -1
View File
@@ -400,7 +400,7 @@ impl RadioS3NewPathStyle {
.foreground(color)
.rewind(true)
.title("New path style", Alignment::Left)
.value(if new_path_style { 0 } else { 1 }),
.value(usize::from(!new_path_style)),
}
}
}
+3 -7
View File
@@ -22,15 +22,11 @@ impl AuthActivity {
// Headers
assert!(self
.app
.mount(Id::Title, Box::new(components::Title::default()), vec![])
.mount(Id::Title, Box::<components::Title>::default(), vec![])
.is_ok());
assert!(self
.app
.mount(
Id::Subtitle,
Box::new(components::Subtitle::default()),
vec![]
)
.mount(Id::Subtitle, Box::<components::Subtitle>::default(), vec![])
.is_ok());
// Footer
assert!(self
@@ -975,7 +971,7 @@ impl AuthActivity {
.app
.mount(
Id::GlobalListener,
Box::new(components::GlobalListener::default()),
Box::<components::GlobalListener>::default(),
vec![
Sub::new(
SubEventClause::Keyboard(KeyEvent {