mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-23 06:38:35 +02:00
Changed way for generation of change address for electrum wallets. Remove some yats call.
This commit is contained in:
@@ -27,6 +27,7 @@ class AddressPage extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
addressListViewModel.generateRandomAddress();
|
||||
autorun((_) async {
|
||||
if (!walletViewModel.isOutdatedElectrumWallet
|
||||
|| !walletViewModel.settingsStore.shouldShowReceiveWarning) {
|
||||
@@ -124,15 +125,15 @@ class AddressPage extends StatelessWidget {
|
||||
],
|
||||
),
|
||||
),
|
||||
)
|
||||
: PrimaryButton(
|
||||
onPressed: () => addressListViewModel.nextAddress(),
|
||||
text: 'Next address',
|
||||
color: Theme.of(context).buttonColor,
|
||||
textColor: Theme.of(context)
|
||||
.accentTextTheme
|
||||
.display3
|
||||
.backgroundColor);
|
||||
) : Container();
|
||||
//: PrimaryButton(
|
||||
// onPressed: () => addressListViewModel.nextAddress(),
|
||||
// text: 'Next address',
|
||||
// color: Theme.of(context).buttonColor,
|
||||
// textColor: Theme.of(context)
|
||||
// .accentTextTheme
|
||||
// .display3
|
||||
// .backgroundColor);
|
||||
})
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user