From 2384681635ca5c511e6c29e0bc9b1482c3f18d76 Mon Sep 17 00:00:00 2001 From: Hadia Ismail Date: Mon, 17 Jul 2023 05:40:52 +0300 Subject: [PATCH] feat : comment dash pay flags --- wallet/src/de/schildbach/wallet/ui/main/MainViewModel.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wallet/src/de/schildbach/wallet/ui/main/MainViewModel.kt b/wallet/src/de/schildbach/wallet/ui/main/MainViewModel.kt index 38df54aaed..64f876cc1e 100644 --- a/wallet/src/de/schildbach/wallet/ui/main/MainViewModel.kt +++ b/wallet/src/de/schildbach/wallet/ui/main/MainViewModel.kt @@ -488,8 +488,8 @@ class MainViewModel @Inject constructor( suspend fun getInviteHistory() = invitationsDao.loadAll() private fun combineLatestData(): Boolean { - val isPlatformAvailable = isPlatformAvailableData.value ?: false - val isSynced = _isBlockchainSynced.value ?: false + val isPlatformAvailable = true //isPlatformAvailableData.value ?: false + val isSynced = true //_isBlockchainSynced.value ?: false val noIdentityCreatedOrInProgress = (blockchainIdentity.value == null) || blockchainIdentity.value!!.creationState == BlockchainIdentityData.CreationState.NONE val canAffordIdentityCreation = walletData.canAffordIdentityCreation() return isSynced && isPlatformAvailable && noIdentityCreatedOrInProgress && canAffordIdentityCreation