Try fix build problems

This commit is contained in:
Nite 2025-04-02 19:48:11 +02:00
parent cc93fa9e8d
commit a06662a255
No known key found for this signature in database
GPG Key ID: 1D1AD59B1C6386C1
2 changed files with 6 additions and 1 deletions

View File

@ -4,6 +4,11 @@ plugins {
apply from: bootstrap.kotlinModule
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
dependencies {
api libs.retrofit
api libs.jacksonConverter

View File

@ -50,7 +50,7 @@ class TimeSpanPreferenceDialogFragmentCompat : PreferenceDialogFragmentCompat(),
}
}
val preference: Preference = preference
preference.sharedPreferences!!.edit{ putString(preference.key, persisted) }
preference.sharedPreferences!!.edit { putString(preference.key, persisted) }
}
@Suppress("UNCHECKED_CAST")