diff --git a/composeApp/src/androidMain/kotlin/su/reya/coop/MainActivity.kt b/composeApp/src/androidMain/kotlin/su/reya/coop/MainActivity.kt index ec77b12..3f92501 100644 --- a/composeApp/src/androidMain/kotlin/su/reya/coop/MainActivity.kt +++ b/composeApp/src/androidMain/kotlin/su/reya/coop/MainActivity.kt @@ -12,8 +12,8 @@ import androidx.activity.viewModels import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider -import su.reya.coop.coop.storage.SecretStore import su.reya.coop.nostr.NostrManager +import su.reya.coop.storage.SecretStore import su.reya.coop.viewmodel.AuthViewModel import su.reya.coop.viewmodel.ChatViewModel import su.reya.coop.viewmodel.NostrViewModel diff --git a/composeApp/src/androidMain/kotlin/su/reya/coop/storage/SecretCrypto.kt b/composeApp/src/androidMain/kotlin/su/reya/coop/storage/SecretCrypto.kt index dac0de6..6180c6e 100644 --- a/composeApp/src/androidMain/kotlin/su/reya/coop/storage/SecretCrypto.kt +++ b/composeApp/src/androidMain/kotlin/su/reya/coop/storage/SecretCrypto.kt @@ -1,4 +1,4 @@ -package su.reya.coop.coop.storage +package su.reya.coop.storage import android.security.keystore.KeyGenParameterSpec import android.security.keystore.KeyProperties diff --git a/composeApp/src/androidMain/kotlin/su/reya/coop/storage/SecretStore.kt b/composeApp/src/androidMain/kotlin/su/reya/coop/storage/SecretStore.kt index 37ffc47..0505f26 100644 --- a/composeApp/src/androidMain/kotlin/su/reya/coop/storage/SecretStore.kt +++ b/composeApp/src/androidMain/kotlin/su/reya/coop/storage/SecretStore.kt @@ -1,11 +1,10 @@ -package su.reya.coop.coop.storage +package su.reya.coop.storage import android.content.Context import androidx.datastore.preferences.core.edit import androidx.datastore.preferences.core.stringPreferencesKey import androidx.datastore.preferences.preferencesDataStore import kotlinx.coroutines.flow.first -import su.reya.coop.storage.SecretStorage private val Context.dataStore by preferencesDataStore("secret_store")