Skip to content

Commit

Permalink
move to constructor, inline default
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof Borowy committed Dec 16, 2022
1 parent 01bb8ec commit 8474643
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import kotlinx.serialization.json.Json

internal class DodoAuthStorageImpl(
private val settings: Settings,
private val json: Json
private val json: Json,
private val lock: Mutex = Mutex()
) : DodoAuthStorage {
private val lock = Mutex()
override var currentDomain: String?
get() = settings[KEY_DOMAIN_CACHE]
set(value) {
Expand Down

0 comments on commit 8474643

Please sign in to comment.