Remove a change and fix padding on transactions page

tuxsudo committed Apr 8, 2026 at 22:03 UTC 3ab5c502f2d66a9b80d77cadefd1286556d64b30
3 files changed +21 -18
lib/new-ui/widgets/coins_page/assets_history/transaction_details_modal.dart
+18 -15
@@ -192,21 +192,24 @@ class _TransactionDetailsModalState extends State<TransactionDetailsModal> {
192 }
193
194 Widget _buildTrailingWIdget(TransactionDetailsListItem item) {
195 - return switch (item.runtimeType) {
196 - ConfirmationsListItem => Row(
197 - children: [
198 - Text((item as ConfirmationsListItem).current.toString(),
199 - style: TextStyle(color: Theme.of(context).colorScheme.primary)),
200 - if (item.needed > 0)
201 - Text("/${item.needed}",
202 - style: TextStyle(color: Theme.of(context).colorScheme.onSurfaceVariant))
203 - ],
204 - ),
205 - _ => Text(
206 - item.value,
207 - style: TextStyle(color: Theme.of(context).colorScheme.onSurfaceVariant),
208 - )
209 - };
195 + return Padding(
196 + padding: const EdgeInsets.symmetric(vertical: 4.0),
197 + child: switch (item.runtimeType) {
198 + ConfirmationsListItem => Row(
199 + children: [
200 + Text((item as ConfirmationsListItem).current.toString(),
201 + style: TextStyle(color: Theme.of(context).colorScheme.primary)),
202 + if (item.needed > 0)
203 + Text("/${item.needed}",
204 + style: TextStyle(color: Theme.of(context).colorScheme.onSurfaceVariant))
205 + ],
206 + ),
207 + _ => Text(
208 + item.value,
209 + style: TextStyle(color: Theme.of(context).colorScheme.onSurfaceVariant),
210 + )
211 + },
212 + );
213 }
214
215 Widget _buildBottomWidget(TransactionDetailsListItem item) {
lib/src/widgets/new_list_row/list_Item_style_wrapper.dart
+1 -1
@@ -59,7 +59,7 @@ class ListItemStyleWrapper extends StatelessWidget {
59 child: InkWell(
60 onTap: onTap,
61 child: Padding(
62 - padding: EdgeInsets.symmetric(horizontal: 12, vertical: height == null ? 12 : 0),
62 + padding: EdgeInsets.symmetric(horizontal: 12, vertical: height == null ? 11 : 0),
63 child: builder(context, textStyle, labelStyle))))),
64 if(iconPath != null && isLastInSection == false) Container(
65 color: theme.colorScheme.surfaceContainer,
lib/src/widgets/new_list_row/list_item_regular_row_widget.dart
+2 -2
@@ -66,7 +66,7 @@ class ListItemRegularRowWidget extends StatelessWidget {
66 if (iconPath != null)
67 Padding(
68 padding: const EdgeInsets.only(right: 12.0),
69 - child: CakeImageWidget(imageUrl: iconPath!, width: 24,height: 24,)
69 + child: CakeImageWidget(imageUrl: iconPath!, width: 24, height: 24,)
70 ),
71 Flexible(
72 child: Column(
@@ -92,7 +92,7 @@ class ListItemRegularRowWidget extends StatelessWidget {
92 children: [
93 if (trailingTextToShow != null)
94 Padding(
95 - padding: const EdgeInsets.only(top: 4.0, bottom: 4.0, right: 8.0),
95 + padding: const EdgeInsets.only(right: 8.0),
96 child: Text(
97 trailingTextToShow,
98 style: labelStyle,