From d041d9a9ec9dc9f154acbc1a3ce9626788816bab Mon Sep 17 00:00:00 2001
From: julian <julian@cypherstack.com>
Date: Tue, 24 Oct 2023 12:28:09 -0600
Subject: [PATCH] performance fix

---
 .../sub_widgets/desktop_address_list.dart     | 45 +++++++++----------
 1 file changed, 21 insertions(+), 24 deletions(-)

diff --git a/lib/pages_desktop_specific/addresses/sub_widgets/desktop_address_list.dart b/lib/pages_desktop_specific/addresses/sub_widgets/desktop_address_list.dart
index f0b4836f8..62645f858 100644
--- a/lib/pages_desktop_specific/addresses/sub_widgets/desktop_address_list.dart
+++ b/lib/pages_desktop_specific/addresses/sub_widgets/desktop_address_list.dart
@@ -210,30 +210,27 @@ class _DesktopAddressListState extends ConsumerState<DesktopAddressList> {
           height: 20,
         ),
         Expanded(
-          child: SingleChildScrollView(
-            child: RoundedWhiteContainer(
-              padding: EdgeInsets.zero,
-              child: ListView.separated(
-                shrinkWrap: true,
-                itemCount: ids.length,
-                separatorBuilder: (_, __) => Container(
-                  height: 1,
-                  color: Theme.of(context)
-                      .extension<StackColors>()!
-                      .backgroundAppBar,
-                ),
-                itemBuilder: (_, index) => Padding(
-                  padding: const EdgeInsets.all(4),
-                  child: AddressCard(
-                    key: Key("addressCardDesktop_key_${ids[index]}"),
-                    walletId: widget.walletId,
-                    addressId: ids[index],
-                    coin: coin,
-                    onPressed: () {
-                      ref.read(desktopSelectedAddressId.state).state =
-                          ids[index];
-                    },
-                  ),
+          child: RoundedWhiteContainer(
+            padding: EdgeInsets.zero,
+            child: ListView.separated(
+              shrinkWrap: true,
+              itemCount: ids.length,
+              separatorBuilder: (_, __) => Container(
+                height: 1,
+                color: Theme.of(context)
+                    .extension<StackColors>()!
+                    .backgroundAppBar,
+              ),
+              itemBuilder: (_, index) => Padding(
+                padding: const EdgeInsets.all(4),
+                child: AddressCard(
+                  key: Key("addressCardDesktop_key_${ids[index]}"),
+                  walletId: widget.walletId,
+                  addressId: ids[index],
+                  coin: coin,
+                  onPressed: () {
+                    ref.read(desktopSelectedAddressId.state).state = ids[index];
+                  },
                 ),
               ),
             ),