prepare Outputs type

This commit is contained in:
2026-08-23 10:54:21 +02:00
parent 38e1617bdd
commit 889da2e62c
8 changed files with 56 additions and 32 deletions
+3 -3
View File
@@ -24,16 +24,16 @@ impl NavigationState {
match &self.screens.len() {
0 => {
log::info!("No screens to go back to");
return self.screens.last().unwrap();
self.screens.last().unwrap()
}
1 => {
log::info!("Only one screen on stack, cannot go back");
return self.screens.last().unwrap();
self.screens.last().unwrap()
}
_ => {
log::info!("Going back to previous screen");
self.screens.pop();
return self.screens.last().unwrap();
self.screens.last().unwrap()
}
}
}