Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-b-stb committed Aug 13, 2024
1 parent a912ee3 commit 89f59c8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app-ios/Sources/TimetableFeature/TimetableListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,8 @@ public struct TimetableView: View {
store.send(.view(.selectDay(tabItem)))
selectedTab = tabItem
}, label: {
//TODO: Only selected button should be green and underlined
HStack(spacing: 6) {
Text(tabItem.rawValue)
.textStyle(.titleMedium)
.underline(selectedTab == tabItem)
Text(tabItem.rawValue).textStyle(.titleMedium).underline(selectedTab == tabItem)
}
.foregroundStyle(selectedTab == tabItem ? AssetColors.Custom.iguana.swiftUIColor : AssetColors.Surface.onSurface.swiftUIColor)
.padding(6)
Expand Down

0 comments on commit 89f59c8

Please sign in to comment.