mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-01-11 12:35:50 +01:00
refactor(youtube/settings): remove unused code
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
parent
66bcf12dc6
commit
a1d4fabaaf
@ -5,9 +5,6 @@ import app.revanced.integrations.utils.LogHelper;
|
||||
import app.revanced.integrations.utils.ReVancedUtils;
|
||||
import app.revanced.integrations.utils.SharedPrefHelper;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public enum SettingsEnum {
|
||||
//Download Settings
|
||||
// TODO: DOWNLOAD_PATH("revanced_download_path", Environment.getExternalStorageDirectory().getPath() + "/Download", ReturnType.STRING),
|
||||
@ -222,16 +219,6 @@ public enum SettingsEnum {
|
||||
}
|
||||
}
|
||||
|
||||
public static List<SettingsEnum> getAdRemovalSettings() {
|
||||
List<SettingsEnum> list = new ArrayList<>();
|
||||
for (SettingsEnum var : SettingsEnum.values()) {
|
||||
if (var.toString().startsWith("ADREMOVER")) {
|
||||
list.add(var);
|
||||
}
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets, but does _not_ persistently save the value.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user