diff --git a/Packages/Timeline/Sources/Timeline/View/TimelineView.swift b/Packages/Timeline/Sources/Timeline/View/TimelineView.swift index ab92f166..47db3c4d 100644 --- a/Packages/Timeline/Sources/Timeline/View/TimelineView.swift +++ b/Packages/Timeline/Sources/Timeline/View/TimelineView.swift @@ -222,12 +222,18 @@ public struct TimelineView: View { Text(timeline.localizedTitle()) .font(.caption) .foregroundStyle(.secondary) - case .home: + case let .link(url, _): Text(timeline.localizedTitle()) .font(.headline) + Text(url.host() ?? url.absoluteString) + .font(.caption) + .foregroundStyle(.secondary) default: Text(timeline.localizedTitle()) .font(.headline) + Text(client.server) + .font(.caption) + .foregroundStyle(.secondary) } } .accessibilityRepresentation { diff --git a/Packages/Timeline/Sources/Timeline/View/TimelineViewModel.swift b/Packages/Timeline/Sources/Timeline/View/TimelineViewModel.swift index 0cbbc660..d0136577 100644 --- a/Packages/Timeline/Sources/Timeline/View/TimelineViewModel.swift +++ b/Packages/Timeline/Sources/Timeline/View/TimelineViewModel.swift @@ -303,7 +303,7 @@ extension TimelineViewModel: StatusesFetcher { } } - // Fetch pages from the top most status of the tomeline. + // Fetch pages from the top most status of the timeline. private func fetchNewPagesFrom(latestStatus: String, client: Client) async throws { canStreamEvents = false let initialTimeline = timeline