Loading app/ui/src/main/java/com/fsck/k9/ui/settings/account/AccountSettingsFragment.kt +6 −4 Original line number Diff line number Diff line Loading @@ -165,10 +165,12 @@ class AccountSettingsFragment : PreferenceFragmentCompat() { } private fun initializeNotifications() { findPreference(PREFERENCE_OPEN_NOTIFICATION_SETTINGS)?.let { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { PRE_SDK26_NOTIFICATION_PREFERENCES.forEach { findPreference(it).remove() } } else { findPreference(PREFERENCE_OPEN_NOTIFICATION_SETTINGS).remove() it.remove() } } } Loading Loading
app/ui/src/main/java/com/fsck/k9/ui/settings/account/AccountSettingsFragment.kt +6 −4 Original line number Diff line number Diff line Loading @@ -165,10 +165,12 @@ class AccountSettingsFragment : PreferenceFragmentCompat() { } private fun initializeNotifications() { findPreference(PREFERENCE_OPEN_NOTIFICATION_SETTINGS)?.let { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { PRE_SDK26_NOTIFICATION_PREFERENCES.forEach { findPreference(it).remove() } } else { findPreference(PREFERENCE_OPEN_NOTIFICATION_SETTINGS).remove() it.remove() } } } Loading