use generic cancel and continue strings.
This commit is contained in:
parent
54644db587
commit
c3299845c1
@ -960,10 +960,10 @@ class RoomDetailFragment @Inject constructor(
|
||||
.colorizeMatchingText(url, colorProvider.getColorFromAttribute(android.R.attr.textColorLink))
|
||||
.colorizeMatchingText(title, colorProvider.getColorFromAttribute(android.R.attr.textColorLink))
|
||||
)
|
||||
.setPositiveButton(R.string.external_link_confirmation_negative_button) { _, _ ->
|
||||
.setPositiveButton(R.string._continue) { _, _ ->
|
||||
openUrlInExternalBrowser(requireContext(), url)
|
||||
}
|
||||
.setNegativeButton(R.string.external_link_confirmation_positive_button, null)
|
||||
.setNegativeButton(R.string.cancel, null)
|
||||
.show()
|
||||
.withColoredButton(DialogInterface.BUTTON_NEGATIVE)
|
||||
} else {
|
||||
|
@ -23,8 +23,6 @@
|
||||
<!-- BEGIN Strings added by Onuray -->
|
||||
<string name="external_link_confirmation_title">Double-check this link</string>
|
||||
<string name="external_link_confirmation_message">The link %1$s is taking you to another site: %2$s.\n\nAre you sure you want to continue?</string>
|
||||
<string name="external_link_confirmation_negative_button">Continue</string>
|
||||
<string name="external_link_confirmation_positive_button">Cancel</string>
|
||||
<!-- END Strings added by Onuray -->
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user