mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-11-01 07:13:56 +01:00
add cancel button (#6078)
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
This commit is contained in:
parent
dec56a3342
commit
a6444968fa
16 changed files with 67 additions and 24 deletions
|
|
@ -161,7 +161,10 @@ class MoreBottomSheetFragment : BottomSheetDialogFragment() {
|
|||
override fun onFeedbackSubmit(feedback: Feedback) {
|
||||
uploadFeedback(feedback)
|
||||
}
|
||||
}).show()
|
||||
}).apply {
|
||||
setCancelable(false)
|
||||
show()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -94,6 +94,7 @@ class MoreBottomSheetLoggedOutFragment : BottomSheetDialogFragment() {
|
|||
.setMessage(R.string.feedback_sharing_data_alert)
|
||||
.setCancelable(false)
|
||||
.setPositiveButton(R.string.ok) { _, _ -> sendFeedback() }
|
||||
.setNegativeButton(R.string.cancel){_,_ -> }
|
||||
.show()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue