Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
feat: remove use of unused class Dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Jul 17, 2022
1 parent 0a0101f commit 5a67ca2
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 174 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,6 @@ public void onCreate(Bundle savedInstanceState) {
});
}

// Clear hint
if (SettingsEnum.DEBUG.getBoolean()) {
SwitchPreference preference = new SwitchPreference(context);
preferenceScreen.addPreference(preference);
preference.setKey(SettingsEnum.RYD_HINT_SHOWN.getPath());
preference.setDefaultValue(false);
preference.setChecked(SettingsEnum.RYD_HINT_SHOWN.getBoolean());
preference.setTitle("Hint debug");
preference.setSummary("Debug toggle for clearing the hint shown preference");
preference.setOnPreferenceChangeListener((pref, newValue) -> true);
}

// About category
addAboutCategory(context, preferenceScreen);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,6 @@ public void onCreate(Bundle savedInstanceState) {
});
}

// Clear hint
if (SettingsEnum.DEBUG.getBoolean()) {
SwitchPreference preference = new SwitchPreference(context);
preferenceScreen.addPreference(preference);
preference.setKey(SettingsEnum.SB_SPONSOR_BLOCK_HINT_SHOWN.getPath());
preference.setDefaultValue(false);
preference.setChecked(SettingsEnum.SB_SPONSOR_BLOCK_HINT_SHOWN.getBoolean());
preference.setTitle("Hint debug");
preference.setSummary("Debug toggle for clearing the hint shown preference");
preference.setOnPreferenceChangeListener((pref, newValue) -> true);
}

{
SwitchPreference preference = new SwitchPreference(context);
preferenceScreen.addPreference(preference);
Expand Down

This file was deleted.

0 comments on commit 5a67ca2

Please sign in to comment.