Skip to content

Commit

Permalink
refactor(watchOS): bold text in departure list
Browse files Browse the repository at this point in the history
  • Loading branch information
krystxf committed Nov 12, 2024
1 parent c234cef commit 6f4491a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ final class NetworkManager {

let url = baseUrl
.appending(queryItems: stopsQueryParams + platformsQueryParams + [
// URLQueryItem(name: "metroOnly", value: "true"),
URLQueryItem(name: "metroOnly", value: "true"),
])

let task = URLSession.shared.dataTask(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ struct StopDepartureListItemView: View {

CountdownView(targetDate: departure)
}
.fontWeight(.bold)
if let nextHeadsign, let nextDeparture {
HStack {
if nextHeadsign != headsign {
Expand All @@ -43,6 +44,7 @@ struct StopDepartureListItemView: View {
CountdownView(targetDate: nextDeparture) {
nextHeadsign == headsign ? "also in \($0)" : $0
}
.fontWeight(.semibold)
}.font(.system(size: 12))
}
}
Expand Down

0 comments on commit 6f4491a

Please sign in to comment.