Skip to content

Commit

Permalink
feat : comment dash pay flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Hadia Ismail committed Jul 17, 2023
1 parent 7b86701 commit 2384681
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wallet/src/de/schildbach/wallet/ui/main/MainViewModel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2384681

Please sign in to comment.