Pass app name to delete browsing data prompt
parent
b35a1fa6a5
commit
9ebd4efe70
|
@ -94,7 +94,12 @@ class DeleteBrowsingDataFragment : Fragment() {
|
||||||
private fun askToDelete() {
|
private fun askToDelete() {
|
||||||
context?.let {
|
context?.let {
|
||||||
AlertDialog.Builder(it).apply {
|
AlertDialog.Builder(it).apply {
|
||||||
setMessage(R.string.delete_browsing_data_prompt_message_3)
|
setMessage(
|
||||||
|
it.getString(
|
||||||
|
R.string.delete_browsing_data_prompt_message_3,
|
||||||
|
it.getString(R.string.app_name)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
setNegativeButton(R.string.delete_browsing_data_prompt_cancel) { it: DialogInterface, _ ->
|
setNegativeButton(R.string.delete_browsing_data_prompt_cancel) { it: DialogInterface, _ ->
|
||||||
it.cancel()
|
it.cancel()
|
||||||
|
|
Loading…
Reference in New Issue