Prevent the dialog from being cancellable, since OK button finish the Activity.
This commit is contained in:
parent
db3f60b4b1
commit
e3242f0deb
|
@ -118,6 +118,7 @@ class LocationSharingFragment @Inject constructor(
|
||||||
.setPositiveButton(R.string.ok) { _, _ ->
|
.setPositiveButton(R.string.ok) { _, _ ->
|
||||||
activity?.finish()
|
activity?.finish()
|
||||||
}
|
}
|
||||||
|
.setCancelable(false)
|
||||||
.show()
|
.show()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue