mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-3328 Vault | Fix | Disable welcome-to-the-vault tip (#2059)
This commit is contained in:
parent
d88fd568db
commit
9c562edf77
6 changed files with 3 additions and 28 deletions
|
@ -186,23 +186,6 @@ class VaultViewModel(
|
|||
)
|
||||
)
|
||||
}
|
||||
viewModelScope.launch {
|
||||
getVaultSettings.async(Unit)
|
||||
.onSuccess { settings ->
|
||||
if (settings.showIntroduceVault) {
|
||||
commands.emit(Command.ShowIntroduceVault)
|
||||
setVaultSettings.async(
|
||||
params = settings.copy(
|
||||
showIntroduceVault = false
|
||||
)
|
||||
).onFailure {
|
||||
Timber.e(it, "Error while setting vault settings")
|
||||
}
|
||||
}
|
||||
}.onFailure {
|
||||
Timber.e(it, "Error while getting vault settings")
|
||||
}
|
||||
}
|
||||
viewModelScope.launch {
|
||||
when (deeplink) {
|
||||
is DeepLinkResolver.Action.Import.Experience -> {
|
||||
|
@ -397,7 +380,6 @@ class VaultViewModel(
|
|||
data class EnterSpaceLevelChat(val space: Space, val chat: Id): Command()
|
||||
data object CreateNewSpace: Command()
|
||||
data object OpenProfileSettings: Command()
|
||||
data object ShowIntroduceVault : Command()
|
||||
|
||||
sealed class Deeplink : Command() {
|
||||
data object DeepLinkToObjectNotWorking: Deeplink()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue