mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +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,
|
||||
),
|
||||
Expanded(
|
||||
child: SingleChildScrollView(
|
||||
child: RoundedWhiteContainer(
|
||||
padding: EdgeInsets.zero,
|
||||
child: ListView.separated(
|
||||
|
@ -230,15 +229,13 @@ class _DesktopAddressListState extends ConsumerState<DesktopAddressList> {
|
|||
addressId: ids[index],
|
||||
coin: coin,
|
||||
onPressed: () {
|
||||
ref.read(desktopSelectedAddressId.state).state =
|
||||
ids[index];
|
||||
ref.read(desktopSelectedAddressId.state).state = ids[index];
|
||||
},
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue