mirror of
https://github.com/revanced/revanced-patches
synced 2025-02-19 17:06:50 +01:00
refactor(youtube/settings): remove unused code
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
parent
bed1f0d09e
commit
78857e902d
@ -5,9 +5,6 @@ import app.revanced.integrations.utils.LogHelper;
|
|||||||
import app.revanced.integrations.utils.ReVancedUtils;
|
import app.revanced.integrations.utils.ReVancedUtils;
|
||||||
import app.revanced.integrations.utils.SharedPrefHelper;
|
import app.revanced.integrations.utils.SharedPrefHelper;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
public enum SettingsEnum {
|
public enum SettingsEnum {
|
||||||
//Download Settings
|
//Download Settings
|
||||||
// TODO: DOWNLOAD_PATH("revanced_download_path", Environment.getExternalStorageDirectory().getPath() + "/Download", ReturnType.STRING),
|
// 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.
|
* Sets, but does _not_ persistently save the value.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user