performance fix

This commit is contained in:
julian 2023-10-24 12:28:09 -06:00
parent 3e767f7778
commit d041d9a9ec

View file

@ -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];
}, },
), ),
), ),
), ),
), ),
), ),
),
], ],
); );
} }