mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 09:17:44 +00:00
fix: don't dismiss on clear local when delete in progress
This commit is contained in:
parent
1ba12c40cc
commit
c40ad7f86c
@ -48,7 +48,7 @@ class ClearAllDataDialog : DialogFragment() {
|
||||
contentView.cancelButton.setOnClickListener {
|
||||
if (step == Steps.NETWORK_PROMPT) {
|
||||
clearAllData(false)
|
||||
} else {
|
||||
} else if (step != Steps.DELETING) {
|
||||
dismiss()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user