From a00ee0fa4f671e765d4c959fdf21fe8bc65efdd2 Mon Sep 17 00:00:00 2001 From: t-m-w Date: Wed, 31 Jul 2024 11:02:33 -0400 Subject: [PATCH] Fix AOSP build --- .../com/stevesoltys/seedvault/settings/SchedulingFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/stevesoltys/seedvault/settings/SchedulingFragment.kt b/app/src/main/java/com/stevesoltys/seedvault/settings/SchedulingFragment.kt index ea901b4b..bc0fb203 100644 --- a/app/src/main/java/com/stevesoltys/seedvault/settings/SchedulingFragment.kt +++ b/app/src/main/java/com/stevesoltys/seedvault/settings/SchedulingFragment.kt @@ -45,7 +45,7 @@ class SchedulingFragment : PreferenceFragmentCompat(), } } - override fun onDisplayPreferenceDialog(preference: Preference?) { + override fun onDisplayPreferenceDialog(preference: Preference) { when (preference) { is ListPreference -> { val dialogFragment = M3ListPreference.newInstance(preference.getKey())