Skip to content

Commit

Permalink
For mozilla-mobile#4807: Always navigate to settings after deleting b…
Browse files Browse the repository at this point in the history
…rowsing data.
  • Loading branch information
mcarare committed Feb 18, 2020
1 parent e12f014 commit 58fc18b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -219,7 +219,7 @@ class DeleteBrowsingDataFragment : Fragment(R.layout.fragment_delete_browsing_da
// and we want to prevent a crash by defaulting to pop home behavior
if (checkIfFragmentInBackStack(R.id.deleteBrowsingDataFragment)) {
// If Settings is in the backstack then we can continue with intended behavior
if (checkIfFragmentInBackStack(R.id.browserFragment)){
if (checkIfFragmentInBackStack(R.id.browserFragment)) {
findNavController().popBackStack(
R.id.homeFragment,
false
Expand Down

0 comments on commit 58fc18b

Please sign in to comment.