From cc80a2a758be3953a149b5bcc55064bd8d31d5fd Mon Sep 17 00:00:00 2001 From: Licaon_Kter Date: Tue, 9 Aug 2022 12:34:39 +0000 Subject: [PATCH] Fix typo --- src/main/java/eu/siacs/conversations/utils/Compatibility.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/utils/Compatibility.java b/src/main/java/eu/siacs/conversations/utils/Compatibility.java index 21004e26a..c28b8fe29 100644 --- a/src/main/java/eu/siacs/conversations/utils/Compatibility.java +++ b/src/main/java/eu/siacs/conversations/utils/Compatibility.java @@ -34,7 +34,7 @@ public class Compatibility { "notification_ringtone", "notification_headsup", "vibrate_on_notification"); - private static final List UNUESD_SETTINGS_PRE_TWENTYSIX = + private static final List UNUSED_SETTINGS_PRE_TWENTYSIX = Collections.singletonList("message_notification_settings"); public static boolean hasStoragePermission(Context context) { @@ -115,7 +115,7 @@ public class Compatibility { for (String key : (runsTwentySix() ? UNUSED_SETTINGS_POST_TWENTYSIX - : UNUESD_SETTINGS_PRE_TWENTYSIX)) { + : UNUSED_SETTINGS_PRE_TWENTYSIX)) { Preference preference = settingsFragment.findPreference(key); if (preference != null) { for (PreferenceCategory category : categories) {