What changed, and why it matters
This is a minor user-interface layout fix. It swaps which corner of a history page header is rounded based on a setting, reduces vertical padding slightly, and only shows a divider line when the bottom is not rounded. There is no security relevance visible in the change.
No security action needed; treat as a normal UI/layout fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit modifies a single Flutter widget (history_top_bar.dart). It flips the ternary assignment for the bottom border radius so that roundedBottom == true produces a rounded bottom and false produces a square bottom. It also reduces vertical padding from 8 to 4 and conditionally renders a 1-pixel divider only when roundedBottom is false. These are purely cosmetic/layout adjustments.
Changed components
lib/new-ui/widgets/coins_page/assets_history/history_top_bar.dartInspect captured patch +3 / −2
diff --git a/lib/new-ui/widgets/coins_page/assets_history/history_top_bar.dart b/lib/new-ui/widgets/coins_page/assets_history/history_top_bar.dart
index cbb80111..7a3cf065 100644
--- a/lib/new-ui/widgets/coins_page/assets_history/history_top_bar.dart
+++ b/lib/new-ui/widgets/coins_page/assets_history/history_top_bar.dart
@@ -20,12 +20,12 @@ class HistoryTopBar extends StatelessWidget {
decoration: BoxDecoration(
borderRadius: BorderRadius.vertical(
top: Radius.circular(18),
- bottom: roundedBottom ? Radius.zero : Radius.circular(18)
+ bottom: roundedBottom ? Radius.circular(18) : Radius.zero
),
color: Theme.of(context).colorScheme.surfaceContainer),
child: Padding(
padding: EdgeInsets.symmetric(
- vertical: 8,
+ vertical: 4,
horizontal: 12,
),
child: Column(
@@ -43,6 +43,7 @@ class HistoryTopBar extends StatelessWidget {
)
],
),
+ if(!roundedBottom)
Container(
height: 1,
width: double.infinity,
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.