mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-23 15:40:37 +00:00
Timeline subtitle
This commit is contained in:
parent
6f3f8e9dd0
commit
d7429c078f
2 changed files with 8 additions and 2 deletions
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue