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) {
|
if (wasBackupDisabled) {
|
||||||
ManageAutomaticBackupsDialog(
|
ManageAutomaticBackupsDialog(
|
||||||
activity = this,
|
activity = this,
|
||||||
onSuccess = { scheduleNextAutomaticBackup() },
|
onSuccess = {
|
||||||
onCancel = { enableOrDisableAutomaticBackups(false) }
|
scheduleNextAutomaticBackup()
|
||||||
|
},
|
||||||
|
onCancel = {
|
||||||
|
enableOrDisableAutomaticBackups(false)
|
||||||
|
}
|
||||||
)
|
)
|
||||||
enableOrDisableAutomaticBackups(true)
|
enableOrDisableAutomaticBackups(true)
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user