mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-10 16:57:26 -04:00
Variable address truncation (for mobile)
This commit is contained in:
@@ -275,7 +275,13 @@ Rectangle {
|
||||
anchors.leftMargin: 6
|
||||
fontSize: 14 * scaleRatio
|
||||
fontBold: true
|
||||
text: TxUtils.addressTruncate(address)
|
||||
text: {
|
||||
if(isMobile){
|
||||
TxUtils.addressTruncate(address, 6);
|
||||
} else {
|
||||
return TxUtils.addressTruncate(address, 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
MouseArea{
|
||||
|
||||
Reference in New Issue
Block a user