Skip to content

Commit

Permalink
return after delete addons cache file
Browse files Browse the repository at this point in the history
  • Loading branch information
akliuxingyuan committed Oct 3, 2023
1 parent e8919a1 commit 75237d9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ class AddonsManagementFragment : Fragment(R.layout.fragment_add_ons_management)
.setMessage(R.string.confirm_addons_delete_cache)
.setPositiveButton(R.string.confirm_addons_delete_cache_yes) { _, _ ->
requireComponents.clearAddonCache()
requireActivity().onBackPressedDispatcher.onBackPressed()
}
.setNegativeButton(R.string.confirm_addons_delete_cache_no) { _, _ ->
// User cancelled the dialog.
Expand Down

0 comments on commit 75237d9

Please sign in to comment.