[FL-1299] iButton fix previous scene transition #480

This commit is contained in:
gornekich
2021-05-21 14:21:20 +03:00
committed by GitHub
parent 6d93f04f13
commit 89d1b0546e
5 changed files with 67 additions and 35 deletions

View File

@@ -25,7 +25,7 @@ bool iButtonSceneDeleteSuccess::on_event(iButtonApp* app, iButtonEvent* event) {
bool consumed = false;
if(event->type == iButtonEvent::Type::EventTypeBack) {
app->search_and_switch_to_previous_scene({iButtonApp::Scene::SceneStart});
app->search_and_switch_to_previous_scene({iButtonApp::Scene::SceneSelectKey});
consumed = true;
}