Skip to content

Commit

Permalink
fix(dashpay): show the Join DashPay item on the home screen
Browse files Browse the repository at this point in the history
  • Loading branch information
HashEngineering committed Dec 6, 2023
1 parent 38ca99b commit cd6a1f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,6 @@ class HistoryHeaderAdapter(

private fun shouldShowJoinDashPay(canJoin: Boolean): Boolean {
val hideJoinDashPay = preferences.getBoolean(PREFS_KEY_HIDE_JOIN_DASHPAY_CARD, false)
return blockchainIdentityData == null && canJoin && !hideJoinDashPay
return blockchainIdentityData?.creationState == BlockchainIdentityData.CreationState.NONE && canJoin && !hideJoinDashPay
}
}

0 comments on commit cd6a1f9

Please sign in to comment.