mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
Use multi-line lambda
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user