parent
8ea836bf13
commit
e247870b9f
|
@ -27,9 +27,9 @@ import kotlinx.coroutines.launch
|
||||||
import mozilla.components.lib.state.ext.consumeFrom
|
import mozilla.components.lib.state.ext.consumeFrom
|
||||||
import mozilla.components.support.base.feature.BackHandler
|
import mozilla.components.support.base.feature.BackHandler
|
||||||
import org.mozilla.fenix.BrowserDirection
|
import org.mozilla.fenix.BrowserDirection
|
||||||
import org.mozilla.fenix.browser.browsingmode.BrowsingMode
|
|
||||||
import org.mozilla.fenix.HomeActivity
|
import org.mozilla.fenix.HomeActivity
|
||||||
import org.mozilla.fenix.R
|
import org.mozilla.fenix.R
|
||||||
|
import org.mozilla.fenix.browser.browsingmode.BrowsingMode
|
||||||
import org.mozilla.fenix.components.Components
|
import org.mozilla.fenix.components.Components
|
||||||
import org.mozilla.fenix.components.StoreProvider
|
import org.mozilla.fenix.components.StoreProvider
|
||||||
import org.mozilla.fenix.components.history.createSynchronousPagedHistoryProvider
|
import org.mozilla.fenix.components.history.createSynchronousPagedHistoryProvider
|
||||||
|
|
|
@ -94,7 +94,7 @@ 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)
|
setMessage(R.string.delete_browsing_data_prompt_message_3)
|
||||||
|
|
||||||
setNegativeButton(R.string.delete_browsing_data_prompt_cancel) { it: DialogInterface, _ ->
|
setNegativeButton(R.string.delete_browsing_data_prompt_cancel) { it: DialogInterface, _ ->
|
||||||
it.cancel()
|
it.cancel()
|
||||||
|
|
|
@ -692,8 +692,6 @@
|
||||||
|
|
||||||
<!-- Dialog message to the user asking to delete browsing data. -->
|
<!-- Dialog message to the user asking to delete browsing data. -->
|
||||||
<string name="delete_browsing_data_prompt_message">This will delete all of your browsing data.</string>
|
<string name="delete_browsing_data_prompt_message">This will delete all of your browsing data.</string>
|
||||||
<!-- Dialog message to the user asking to delete browsing data. -->
|
|
||||||
<string name="delete_browsing_data_prompt_message_2">Are you sure you want to delete the selected browsing data?</string>
|
|
||||||
<!-- Dialog message to the user asking to delete browsing data. Parameter will be replaced by app name. -->
|
<!-- Dialog message to the user asking to delete browsing data. Parameter will be replaced by app name. -->
|
||||||
<string name="delete_browsing_data_prompt_message_3">%s will delete the selected browsing data.</string>
|
<string name="delete_browsing_data_prompt_message_3">%s will delete the selected browsing data.</string>
|
||||||
<!-- Text for the cancel button for the data deletion dialog -->
|
<!-- Text for the cancel button for the data deletion dialog -->
|
||||||
|
|
Loading…
Reference in New Issue