Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 344a8921 authored by Nishant D's avatar Nishant D
Browse files

Fix build integration issue

parent 6584a103
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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'
    }
}

+2 −2
Original line number Diff line number Diff line
@@ -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
@@ -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)
}