Skip to content

Commit

Permalink
Remove SharedImmutable usage
Browse files Browse the repository at this point in the history
  • Loading branch information
DrewCarlson committed Nov 12, 2023
1 parent be01f9e commit 65243d2
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,14 @@ import anystream.models.User
import kotlinx.coroutines.channels.BufferOverflow.DROP_OLDEST
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.MutableSharedFlow
import kotlinx.serialization.decodeFromString
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json
import kotlin.native.concurrent.SharedImmutable

private const val STORAGE_KEY = "SESSION_TOKEN"
private const val PERMISSIONS_KEY = "PERMISSIONS_KEY"
private const val USER_KEY = "USER_KEY"
private const val SERVER_URL_KEY = "SERVER_URL_KEY"

@SharedImmutable
private val json = Json {
isLenient = true
encodeDefaults = true
Expand Down

0 comments on commit 65243d2

Please sign in to comment.