Merge pull request #710 from seedvault-app/t-m-w-patch-1

Fix AOSP build
This commit is contained in:
Torsten Grote 2024-07-31 14:38:55 -03:00 committed by GitHub
commit 4f341d177c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,7 +45,7 @@ class SchedulingFragment : PreferenceFragmentCompat(),
} }
} }
override fun onDisplayPreferenceDialog(preference: Preference?) { override fun onDisplayPreferenceDialog(preference: Preference) {
when (preference) { when (preference) {
is ListPreference -> { is ListPreference -> {
val dialogFragment = M3ListPreference.newInstance(preference.getKey()) val dialogFragment = M3ListPreference.newInstance(preference.getKey())