From 5e03916d1290006de5231908f6e45a2afb9c73b4 Mon Sep 17 00:00:00 2001 From: Jean-Luc Makiola Date: Mon, 16 Nov 2026 20:03:33 +0100 Subject: [PATCH] fix(#240): keep the drawer open after Sync now --- .../java/de/jeanlucmakiola/calendula/ui/CalendarHost.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 230881e2..bfb9dda8 100644 --- a/app/src/main/java/de/jeanlucmakiola/calendula/ui/CalendarHost.kt +++ b/app/src/main/java/de/jeanlucmakiola/calendula/ui/CalendarHost.kt @@ -612,10 +612,8 @@ fun CalendarHost( canSync = syncTargets.reachable.isNotEmpty(), inFlight = syncInFlight, needsAccess = syncTargets.needsAccess.isNotEmpty(), - onSync = { - sync.requestSync() - switchScope.launch { drawerState.close() } - }, + // Stays open, so the row's progress and the result are seen. + onSync = { sync.requestSync() }, onGrantAccess = { showSyncAccess = true }, ) },