fix(#240): keep the drawer open after Sync now
This commit is contained in:
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 },
|
||||
)
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user