lib updates
This commit is contained in:
+2
-2
@@ -3,11 +3,11 @@ package dev.meloda.overseerr.settings.model
|
||||
import dev.meloda.overseerr.appDir
|
||||
import io.github.xxfast.kstore.KStore
|
||||
import io.github.xxfast.kstore.file.storeOf
|
||||
import okio.Path.Companion.toPath
|
||||
import kotlinx.io.files.Path
|
||||
|
||||
actual class SettingsStoreProvider actual constructor() {
|
||||
|
||||
actual fun provideStore(): KStore<AppSettings> {
|
||||
return storeOf(file = "$appDir/app_settings.json".toPath())
|
||||
return storeOf(file = Path("$appDir/app_settings.json"))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user