From 7c43d01f8e4551414728a1a87fdc9915b0c17d8b Mon Sep 17 00:00:00 2001 From: Nite Date: Sun, 31 Oct 2021 16:54:37 +0100 Subject: [PATCH] Fixed nullable parameters --- .../kotlin/org/moire/ultrasonic/fragment/SettingsFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ultrasonic/src/main/kotlin/org/moire/ultrasonic/fragment/SettingsFragment.kt b/ultrasonic/src/main/kotlin/org/moire/ultrasonic/fragment/SettingsFragment.kt index b171745a..392c04a4 100644 --- a/ultrasonic/src/main/kotlin/org/moire/ultrasonic/fragment/SettingsFragment.kt +++ b/ultrasonic/src/main/kotlin/org/moire/ultrasonic/fragment/SettingsFragment.kt @@ -102,7 +102,7 @@ class SettingsFragment : MediaSessionHandler::class.java ) - override fun onCreatePreferences(savedInstanceState: Bundle, rootKey: String) { + override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) { setPreferencesFromResource(R.xml.settings, rootKey) }