Skip to content

Commit

Permalink
More tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahkeen committed Jan 15, 2025
1 parent ccb3638 commit 20558d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions ios/HackerNews/Components/StoryRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ struct StoryRow: View {
StoryRowLoadingState()
case .nextPage:
StoryRowLoadingState()
.onAppear {
Task {
await model.fetchNextPage()
.onAppear {
Task {
await model.fetchNextPage()
}
}
}
case .loaded(let story):
VStack(alignment: .leading, spacing: 8) {
let author = story.by!
Expand Down
3 changes: 2 additions & 1 deletion ios/HackerNews/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ struct ContentView: View {
TabView {
FeedScreen(model: model)
.tabItem {
Image(systemName: "list.dash")
Image(systemName: "newspaper.fill")
}
BookmarksScreen()
.tabItem {
Expand All @@ -26,6 +26,7 @@ struct ContentView: View {
Image(systemName: "gear")
}
}
.accentColor(.hnOrange)
}
}

Expand Down

0 comments on commit 20558d1

Please sign in to comment.