fix: don't dismiss on clear local when delete in progress

pull/617/head
jubb 4 years ago
parent 1ba12c40cc
commit c40ad7f86c

@ -48,7 +48,7 @@ class ClearAllDataDialog : DialogFragment() {
contentView.cancelButton.setOnClickListener { contentView.cancelButton.setOnClickListener {
if (step == Steps.NETWORK_PROMPT) { if (step == Steps.NETWORK_PROMPT) {
clearAllData(false) clearAllData(false)
} else { } else if (step != Steps.DELETING) {
dismiss() dismiss()
} }
} }

Loading…
Cancel
Save