File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ struct TopicDetailView: View {
9595#if os(iOS)
9696 . listStyle( . plain)
9797#endif
98- . task {
98+ . onFirstAppear {
9999 loadComments ( page: 1 )
100100 }
101101 }
Original file line number Diff line number Diff line change @@ -70,7 +70,10 @@ struct TopicListCellView: View {
7070
7171 }
7272#if os(macOS)
73- . foregroundColor( Color ( NSColor . labelColor) )
73+ . foregroundColor( Color ( . labelColor) )
74+ #endif
75+ #if os(iOS)
76+ . foregroundColor( Color ( . label) )
7477#endif
7578 . task {
7679 if let name = topic. lastReplyBy {
Original file line number Diff line number Diff line change @@ -50,11 +50,9 @@ struct TitleNavBarItem: View {
5050 var body : some View {
5151 VStack {
5252 Text ( title)
53- . foregroundColor ( Color . gray)
5453 . font ( . subheadline)
5554 }
5655 . frame ( maxWidth: . infinity, maxHeight: . infinity)
57- . background ( Color . white)
5856 }
5957}
6058
You can’t perform that action at this time.
0 commit comments