From 89f59c856c9649bb472d1d4380320225c70c8306 Mon Sep 17 00:00:00 2001 From: CHARLES BOND Date: Tue, 13 Aug 2024 21:46:18 +0900 Subject: [PATCH] code cleanup --- app-ios/Sources/TimetableFeature/TimetableListView.swift | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app-ios/Sources/TimetableFeature/TimetableListView.swift b/app-ios/Sources/TimetableFeature/TimetableListView.swift index 733d146e4..4f82f3d62 100644 --- a/app-ios/Sources/TimetableFeature/TimetableListView.swift +++ b/app-ios/Sources/TimetableFeature/TimetableListView.swift @@ -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)