Cleanup: use PreferenceUtils.isKey(List).

This commit is contained in:
Dennis Guse
2025-10-15 18:10:35 +02:00
parent b5180f235f
commit d6617f61b7
4 changed files with 5 additions and 4 deletions
@@ -125,7 +125,7 @@ public class PreferencesUtils {
return key == null || key.equals(getKey(keyId));
}
public static boolean isKey(int[] keyIds, String key) {
public static boolean isKey(List<Integer> keyIds, String key) {
for (int keyId : keyIds) {
if (isKey(keyId, key)) {
return true;