mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 23:36:41 +02:00
Quick bugfix and code change for clarity
This commit is contained in:
parent
f7ed8c10fa
commit
6b90ceaeb4
1 changed files with 4 additions and 5 deletions
|
@ -75,7 +75,6 @@ Item {
|
||||||
Connections {
|
Connections {
|
||||||
target: GlobalServices
|
target: GlobalServices
|
||||||
onMyUsernameChanged: {
|
onMyUsernameChanged: {
|
||||||
transactionHistoryModel.clear();
|
|
||||||
usernameText.text = Account.username;
|
usernameText.text = Account.username;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -91,14 +90,14 @@ Item {
|
||||||
|
|
||||||
root.currentActiveView = root.nextActiveView;
|
root.currentActiveView = root.nextActiveView;
|
||||||
|
|
||||||
if (root.nextActiveView === 'chooseRecipientConnection') {
|
if (root.currentActiveView === 'chooseRecipientConnection') {
|
||||||
// Refresh connections model
|
// Refresh connections model
|
||||||
connectionsLoading.visible = false;
|
connectionsLoading.visible = false;
|
||||||
connectionsLoading.visible = true;
|
connectionsLoading.visible = true;
|
||||||
sendSignalToWallet({method: 'refreshConnections'});
|
sendSignalToWallet({method: 'refreshConnections'});
|
||||||
} else if (root.nextActiveView === 'sendMoneyHome') {
|
} else if (root.currentActiveView === 'sendMoneyHome') {
|
||||||
Commerce.balance();
|
Commerce.balance();
|
||||||
} else if (root.nextActiveView === 'chooseRecipientNearby') {
|
} else if (root.currentActiveView === 'chooseRecipientNearby') {
|
||||||
sendSignalToWallet({method: 'enable_ChooseRecipientNearbyMode'});
|
sendSignalToWallet({method: 'enable_ChooseRecipientNearbyMode'});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -848,7 +847,7 @@ Item {
|
||||||
FontLoader { id: firaSansSemiBold; source: "../../../../../fonts/FiraSans-SemiBold.ttf"; }
|
FontLoader { id: firaSansSemiBold; source: "../../../../../fonts/FiraSans-SemiBold.ttf"; }
|
||||||
TextArea {
|
TextArea {
|
||||||
id: optionalMessage;
|
id: optionalMessage;
|
||||||
property int maximumLength: 255;
|
property int maximumLength: 70;
|
||||||
property string previousText: text;
|
property string previousText: text;
|
||||||
placeholderText: "Optional Message";
|
placeholderText: "Optional Message";
|
||||||
font.family: firaSansSemiBold.name;
|
font.family: firaSansSemiBold.name;
|
||||||
|
|
Loading…
Reference in a new issue