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…
Reference in New Issue