mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 17:27:45 +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 {
|
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…
x
Reference in New Issue
Block a user