Small fix

This commit is contained in:
M66B 2020-10-09 18:31:40 +02:00
parent cd1556470b
commit c00b008cd5
1 changed files with 1 additions and 1 deletions

View File

@ -675,7 +675,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
if (exit || count > 1)
super.onBackPressed();
else if (!backHandled()) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getOriginalContext());
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(ActivityView.this);
boolean double_back = prefs.getBoolean("double_back", true);
if (searching || !double_back)
super.onBackPressed();