Moves Blossom server list to use the ICacheProvider

This commit is contained in:
Vitor Pamplona
2026-02-07 18:23:42 -05:00
parent 571fb6af4b
commit 2e64d36f39
@@ -20,8 +20,8 @@
*/ */
package com.vitorpamplona.amethyst.model.nipB7Blossom package com.vitorpamplona.amethyst.model.nipB7Blossom
import com.vitorpamplona.amethyst.commons.model.cache.ICacheProvider
import com.vitorpamplona.amethyst.model.AccountSettings import com.vitorpamplona.amethyst.model.AccountSettings
import com.vitorpamplona.amethyst.model.LocalCache
import com.vitorpamplona.amethyst.model.Note import com.vitorpamplona.amethyst.model.Note
import com.vitorpamplona.amethyst.model.NoteState import com.vitorpamplona.amethyst.model.NoteState
import com.vitorpamplona.quartz.nip01Core.core.HexKey import com.vitorpamplona.quartz.nip01Core.core.HexKey
@@ -39,7 +39,7 @@ import kotlinx.coroutines.flow.stateIn
class BlossomServerListState( class BlossomServerListState(
val signer: NostrSigner, val signer: NostrSigner,
val cache: LocalCache, val cache: ICacheProvider,
val scope: CoroutineScope, val scope: CoroutineScope,
val settings: AccountSettings, val settings: AccountSettings,
) { ) {