mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46:45 +00:00
recieve fixes
This commit is contained in:
parent
d8c94504c3
commit
8aa9d15620
3 changed files with 7 additions and 3 deletions
|
@ -164,7 +164,7 @@ public class ReceiveController extends WalletFormController implements Initializ
|
|||
@Subscribe
|
||||
public void walletHistoryChanged(WalletHistoryChangedEvent event) {
|
||||
if(event.getWallet().equals(walletForm.getWallet())) {
|
||||
if(event.getHistoryChangedNodes().contains(currentEntry.getNode())) {
|
||||
if(currentEntry != null && event.getHistoryChangedNodes().contains(currentEntry.getNode())) {
|
||||
updateLastUsed();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,4 +10,8 @@
|
|||
.receive-form .form .fieldset:horizontal .label-container {
|
||||
-fx-pref-width: 90px;
|
||||
-fx-pref-height: 25px;
|
||||
}
|
||||
|
||||
#lastUsedField .input-container {
|
||||
-fx-alignment: center-left;
|
||||
}
|
|
@ -42,8 +42,8 @@
|
|||
<Field text="Derivation:">
|
||||
<CopyableLabel fx:id="derivationPath" />
|
||||
</Field>
|
||||
<Field text="Last Used:">
|
||||
<Label fx:id="lastUsed" />
|
||||
<Field fx:id="lastUsedField" text="Last Used:">
|
||||
<Label fx:id="lastUsed" contentDisplay="RIGHT" />
|
||||
</Field>
|
||||
</Fieldset>
|
||||
</Form>
|
||||
|
|
Loading…
Reference in a new issue