feat: update Sparkline and Widget components for improved layout and visuals

This commit is contained in:
2026-08-14 21:19:32 +07:00
parent 9bc96dbc2d
commit b641198bee
7 changed files with 68 additions and 17 deletions
+4 -4
View File
@@ -16,10 +16,10 @@ struct SmallWidgetView: View {
quote: hero,
updatedAt: entry.date,
horizontalPadding: padding,
iconSize: 24,
iconSize: 20,
titleSize: 13,
priceSize: 21,
chartHeight: 38,
chartHeight: 40,
showFullDate: false,
showAbsolute: false
)
@@ -98,10 +98,10 @@ struct LargeWidgetView: View {
quote: hero,
updatedAt: entry.date,
horizontalPadding: padding,
iconSize: 36,
iconSize: 28,
titleSize: 19,
priceSize: 32,
chartHeight: 72
chartHeight: 70
)
if !rest.isEmpty {