mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-21 20:09:37 +00:00
fix(OwnerToken): Change owner token subtitle depending on user profile
Fix #12905
This commit is contained in:
parent
6f3a180f41
commit
42a80c2c10
@ -61,10 +61,14 @@ StatusScrollView {
|
||||
|
||||
function getRemainingInfo(isOwnerToken, isTMasterToken,
|
||||
remainingSupply, supply, isInfiniteSupply) {
|
||||
// Owner token use case:
|
||||
if(isOwnerToken)
|
||||
// Owner token and owner profile use case:
|
||||
if(isOwnerToken && root.isOwner)
|
||||
return qsTr("1 of 1 (you hodl)")
|
||||
|
||||
// Owner token but no owner profile use case:
|
||||
if(isOwnerToken && !root.isOwner)
|
||||
return qsTr("1 of 1")
|
||||
|
||||
// TMaster token use case:
|
||||
if(isTMasterToken)
|
||||
return "∞"
|
||||
|
Loading…
x
Reference in New Issue
Block a user