Craig Raw
4 years ago
10 changed files with 81 additions and 4 deletions
@ -0,0 +1,13 @@ |
|||||
|
package com.sparrowwallet.sparrow.event; |
||||
|
|
||||
|
public class HideEmptyUsedAddressesStatusEvent { |
||||
|
private final boolean hideEmptyUsedAddresses; |
||||
|
|
||||
|
public HideEmptyUsedAddressesStatusEvent(boolean hideEmptyUsedAddresses) { |
||||
|
this.hideEmptyUsedAddresses = hideEmptyUsedAddresses; |
||||
|
} |
||||
|
|
||||
|
public boolean isHideEmptyUsedAddresses() { |
||||
|
return hideEmptyUsedAddresses; |
||||
|
} |
||||
|
} |
@ -0,0 +1,18 @@ |
|||||
|
package com.sparrowwallet.sparrow.event; |
||||
|
|
||||
|
import com.sparrowwallet.drongo.wallet.Wallet; |
||||
|
|
||||
|
/** |
||||
|
* Used to indicate that the display configuration of wallet addresses has been updated |
||||
|
*/ |
||||
|
public class WalletAddressesStatusEvent { |
||||
|
private final Wallet wallet; |
||||
|
|
||||
|
public WalletAddressesStatusEvent(Wallet wallet) { |
||||
|
this.wallet = wallet; |
||||
|
} |
||||
|
|
||||
|
public Wallet getWallet() { |
||||
|
return wallet; |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue