1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-28 09:31:37 +01:00

AddressBook: add payment request URI prefix to address field placeholder

This commit is contained in:
rating89us 2021-09-20 13:50:32 +02:00
parent 2f109d3333
commit bd7bd43504

View File

@ -326,11 +326,11 @@ Rectangle {
.arg(qsTr("Address")) + translationManager.emptyString
placeholderText: {
if(persistentSettings.nettype == NetworkType.MAINNET){
return "4.. / 8.. / OpenAlias";
return "4.. / 8.. / monero:.. / OpenAlias";
} else if (persistentSettings.nettype == NetworkType.STAGENET){
return "5.. / 7..";
return "5.. / 7.. / monero:..";
} else if(persistentSettings.nettype == NetworkType.TESTNET){
return "9.. / B..";
return "9.. / B.. / monero:..";
}
}
wrapMode: Text.WrapAnywhere