Updated on 2026-08-14
This commit is contained in:
commit
ee21a32dff
3 changed files with 7 additions and 7 deletions
|
|
@ -168,14 +168,14 @@ class TapWalletManager {
|
|||
withContext(Dispatchers.Main) {
|
||||
when (result) {
|
||||
is Result.Success -> {
|
||||
val config = store.state.globalState.configManager?.config?: return@withContext
|
||||
val payId = result.data
|
||||
if (!config.isPayIdEnabled) {
|
||||
store.dispatch(WalletAction.DisablePayId)
|
||||
return@withContext
|
||||
}
|
||||
if (payId == null) {
|
||||
val config = store.state.globalState.configManager?.config?: return@withContext
|
||||
if (!config.payIdIsEnabled) {
|
||||
store.dispatch(WalletAction.DisablePayId)
|
||||
} else {
|
||||
store.dispatch(WalletAction.LoadPayId.NotCreated)
|
||||
}
|
||||
store.dispatch(WalletAction.LoadPayId.NotCreated)
|
||||
} else {
|
||||
store.dispatch(WalletAction.LoadPayId.Success(payId))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue