mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-16 03:08:58 +03:00
Prevent the dialog from being cancellable, since OK button finish the Activity.
This commit is contained in:
parent
db3f60b4b1
commit
e3242f0deb
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@ class LocationSharingFragment @Inject constructor(
|
|||
.setPositiveButton(R.string.ok) { _, _ ->
|
||||
activity?.finish()
|
||||
}
|
||||
.setCancelable(false)
|
||||
.show()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue