Skip to content

Commit

Permalink
Fix alignment for multi-line speaker name (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrs1669 committed Mar 20, 2024
1 parent 8e2f7aa commit e69faca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MyLibrary/Sources/ScheduleFeature/Schedule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ public struct ScheduleView: View {
if let speakers = session.speakers {
Text(ListFormatter.localizedString(byJoining: speakers.map(\.name)))
.foregroundStyle(Color.init(uiColor: .label))
.multilineTextAlignment(.leading)
}
if let summary = session.summary {
if session.title == "Office hour", let speakers = session.speakers {
Expand Down

0 comments on commit e69faca

Please sign in to comment.