diff --git a/app/src/main/java/de/jeanlucmakiola/calendula/ui/CalendarHost.kt b/app/src/main/java/de/jeanlucmakiola/calendula/ui/CalendarHost.kt index def81c5..4000f7c 100644 --- a/app/src/main/java/de/jeanlucmakiola/calendula/ui/CalendarHost.kt +++ b/app/src/main/java/de/jeanlucmakiola/calendula/ui/CalendarHost.kt @@ -489,7 +489,12 @@ fun CalendarHost( ) { CalendarsScreen( onBack = { showCalendars = false }, - onImport = { importUri = it; importForceMany = true }, + // The manager opens the import too (restore from backup), and + // that way round it has to step aside: declared above the import + // overlays, it would otherwise cover the screen it just asked + // for. Closing it hands the user back to whatever opened the + // manager once the import is done. + onImport = { importUri = it; importForceMany = true; showCalendars = false }, ) } }