diff options
author | Vitaly Takmazov | 2024-05-15 09:44:42 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2024-05-15 09:44:42 +0300 |
commit | 517bc874906e5b81cade91f5c7903736779fbeb0 (patch) | |
tree | 704929639a8298f16e4212352947641496be4e9c | |
parent | f2bf132d6df251ea7d5224d0d86c2ca5b0c02320 (diff) |
Fix Mac build
-rw-r--r-- | JuickNext/FeedView.swift | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/JuickNext/FeedView.swift b/JuickNext/FeedView.swift index 399da1f..7e293bd 100644 --- a/JuickNext/FeedView.swift +++ b/JuickNext/FeedView.swift @@ -42,8 +42,13 @@ struct FeedView: View { var body: some View { NavigationView { - stateContent - .navigationBarTitle(Text(title), displayMode: .inline) + VStack { + stateContent + }.toolbar { + ToolbarItem(placement: .principal) { + Text(title) + } + } } } } |