mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-11 05:04:35 +00:00
performance fix
This commit is contained in:
parent
3e767f7778
commit
d041d9a9ec
1 changed files with 21 additions and 24 deletions
|
@ -210,7 +210,6 @@ class _DesktopAddressListState extends ConsumerState<DesktopAddressList> {
|
||||||
height: 20,
|
height: 20,
|
||||||
),
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: SingleChildScrollView(
|
|
||||||
child: RoundedWhiteContainer(
|
child: RoundedWhiteContainer(
|
||||||
padding: EdgeInsets.zero,
|
padding: EdgeInsets.zero,
|
||||||
child: ListView.separated(
|
child: ListView.separated(
|
||||||
|
@ -230,15 +229,13 @@ class _DesktopAddressListState extends ConsumerState<DesktopAddressList> {
|
||||||
addressId: ids[index],
|
addressId: ids[index],
|
||||||
coin: coin,
|
coin: coin,
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
ref.read(desktopSelectedAddressId.state).state =
|
ref.read(desktopSelectedAddressId.state).state = ids[index];
|
||||||
ids[index];
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue