Skip to content

Commit

Permalink
Bug 1847645 - Changed the Confirm PromptFeature to correctly use the …
Browse files Browse the repository at this point in the history
…negative button title
Zac McKenney authored and mergify[bot] committed Aug 17, 2023
1 parent 6468db2 commit 28f5dbd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -864,10 +864,10 @@ class PromptFeature private constructor(
} else {
positiveButtonTitle
}
val negativeButton = if (positiveButtonTitle.isEmpty()) {
val negativeButton = if (negativeButtonTitle.isEmpty()) {
container.getString(R.string.mozac_feature_prompts_cancel)
} else {
positiveButtonTitle
negativeButtonTitle
}

MultiButtonDialogFragment.newInstance(

0 comments on commit 28f5dbd

Please sign in to comment.