android: fix back button
Fixes: https://github.com/damus-io/notedeck/issues/972 Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
1 parent
db6f02084d
commit
c0c2120f74
3 files changed
+24
-19
No files matched your search
@@ -75,6 +75,11 @@ fn handle_key_events(input: &egui::InputState, columns: &mut Columns) {
|
||||
egui::Key::L => {
|
||||
columns.select_left();
|
||||
}
|
||||
egui::Key::BrowserBack | egui::Key::Escape => {
|
||||
if let Some(column) = columns.selected_mut() {
|
||||
column.router_mut().go_back();
|
||||
}
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user