Rewind radio groups

This commit is contained in:
veeso
2021-08-17 12:44:23 +02:00
parent d15997cca0
commit 78e4a4899c
5 changed files with 16 additions and 0 deletions

View File

@@ -120,6 +120,7 @@ impl SetupActivity {
String::from("Don't save"),
String::from("Cancel"),
])
.rewind(true)
.build(),
)),
);
@@ -147,6 +148,7 @@ impl SetupActivity {
.with_borders(Borders::ALL, BorderType::Rounded, Color::LightYellow)
.with_title("Save changes?", Alignment::Center)
.with_options(&[String::from("Yes"), String::from("No")])
.rewind(true)
.build(),
)),
);
@@ -175,6 +177,7 @@ impl SetupActivity {
String::from("Theme"),
])
.with_value(idx)
.rewind(true)
.build(),
)),
);