refactor(itinerary): consolidate duplicate optional unwrapping in CustomItemRow
This commit is contained in:
@@ -26,14 +26,11 @@ struct CustomItemRow: View {
|
|||||||
.font(.title3)
|
.font(.title3)
|
||||||
.foregroundStyle(Theme.textMuted(colorScheme))
|
.foregroundStyle(Theme.textMuted(colorScheme))
|
||||||
|
|
||||||
// Icon
|
// Icon and Title
|
||||||
if let info = customInfo {
|
if let info = customInfo {
|
||||||
Text(info.icon)
|
Text(info.icon)
|
||||||
.font(.title3)
|
.font(.title3)
|
||||||
}
|
|
||||||
|
|
||||||
// Title
|
|
||||||
if let info = customInfo {
|
|
||||||
Text(info.title)
|
Text(info.title)
|
||||||
.font(.body)
|
.font(.body)
|
||||||
.foregroundStyle(Theme.textPrimary(colorScheme))
|
.foregroundStyle(Theme.textPrimary(colorScheme))
|
||||||
|
|||||||
1348
docs/plans/2026-01-17-itinerary-reorder-implementation.md
Normal file
1348
docs/plans/2026-01-17-itinerary-reorder-implementation.md
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user