fix(#240): keep the drawer open after Sync now

This commit is contained in:
makiolaj committed 2026-11-16 20:03:33 +01:00
1 parent 145ef6c6bf
commit 5e03916d12
1 file changed
+2 -4
@@ -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 },
)
},