Loading modules/build.gradle +3 −3 Original line number Diff line number Diff line Loading @@ -30,11 +30,11 @@ android { } } compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } kotlinOptions { jvmTarget = '17' jvmTarget = '11' } } Loading modules/src/main/java/app/lounge/storage/cache/Persistence.kt +2 −2 Original line number Diff line number Diff line Loading @@ -47,7 +47,7 @@ class PersistedConfiguration(context: Context) { //region - Persistence (in shared preferences) private class PersistedItem<T>( internal class PersistedItem<T>( context: Context, val key: PersistenceKey, var defaultValue: T Loading Loading @@ -91,7 +91,7 @@ private class PersistedItem<T>( } private fun <T> Context.persisted(key: PersistenceKey, defaultValue: T) : PersistedItem<T> { internal fun <T> Context.persisted(key: PersistenceKey, defaultValue: T) : PersistedItem<T> { return PersistedItem(context = this, key = key, defaultValue = defaultValue) } Loading Loading
modules/build.gradle +3 −3 Original line number Diff line number Diff line Loading @@ -30,11 +30,11 @@ android { } } compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } kotlinOptions { jvmTarget = '17' jvmTarget = '11' } } Loading
modules/src/main/java/app/lounge/storage/cache/Persistence.kt +2 −2 Original line number Diff line number Diff line Loading @@ -47,7 +47,7 @@ class PersistedConfiguration(context: Context) { //region - Persistence (in shared preferences) private class PersistedItem<T>( internal class PersistedItem<T>( context: Context, val key: PersistenceKey, var defaultValue: T Loading Loading @@ -91,7 +91,7 @@ private class PersistedItem<T>( } private fun <T> Context.persisted(key: PersistenceKey, defaultValue: T) : PersistedItem<T> { internal fun <T> Context.persisted(key: PersistenceKey, defaultValue: T) : PersistedItem<T> { return PersistedItem(context = this, key = key, defaultValue = defaultValue) } Loading