mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-03-03 19:09:07 +01:00
Use multi-line lambda
This commit is contained in:
parent
0481b20fab
commit
c8bba75c92
@ -848,8 +848,12 @@ class SettingsActivity : SimpleActivity() {
|
||||
if (wasBackupDisabled) {
|
||||
ManageAutomaticBackupsDialog(
|
||||
activity = this,
|
||||
onSuccess = { scheduleNextAutomaticBackup() },
|
||||
onCancel = { enableOrDisableAutomaticBackups(false) }
|
||||
onSuccess = {
|
||||
scheduleNextAutomaticBackup()
|
||||
},
|
||||
onCancel = {
|
||||
enableOrDisableAutomaticBackups(false)
|
||||
}
|
||||
)
|
||||
enableOrDisableAutomaticBackups(true)
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user