fix ios settings store provider

This commit is contained in:
2024-08-05 06:59:12 +03:00
parent b83bec3a54
commit 96e942ccc0
@@ -0,0 +1,12 @@
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
actual class SettingsStoreProvider actual constructor() {
actual fun provideStore(): KStore<AppSettings> {
return storeOf(file = "$appDir/app_settings.json".toPath())
}
}