refactor: remove stray codec settings (#117)

This commit is contained in:
pascua28 2022-08-04 18:47:49 +08:00 committed by GitHub
parent 10f6d8e4ea
commit 2a6d401df5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -12,9 +12,6 @@ import app.revanced.integrations.utils.SharedPrefHelper;
public enum SettingsEnum {
//Codec Override
CODEC_OVERRIDE("revanced_override_codec_enabled", false, ReturnType.BOOLEAN),
//Video Settings
OLD_STYLE_QUALITY_SETTINGS("revanced_use_old_style_quality_settings", true, ReturnType.BOOLEAN),
PREFERRED_VIDEO_SPEED("revanced_pref_video_speed", -2.0f, ReturnType.FLOAT),

View File

@ -123,7 +123,6 @@ public class ReVancedSettingsFragment extends PreferenceFragment {
sharedPreferences.registerOnSharedPreferenceChangeListener(this.listener);
this.Registered = true;
this.screens = new ArrayList<>();
this.screens.add((PreferenceScreen) getPreferenceScreen().findPreference("codec_override"));
this.screens.add((PreferenceScreen) getPreferenceScreen().findPreference("video_settings"));
this.screens.add((PreferenceScreen) getPreferenceScreen().findPreference("video_ad_settings"));
this.screens.add((PreferenceScreen) getPreferenceScreen().findPreference("ad_settings"));