summaryrefslogtreecommitdiff
path: root/JuickNext
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-05-15 09:44:42 +0300
committerGravatar Vitaly Takmazov2024-05-15 09:44:42 +0300
commit517bc874906e5b81cade91f5c7903736779fbeb0 (patch)
tree704929639a8298f16e4212352947641496be4e9c /JuickNext
parentf2bf132d6df251ea7d5224d0d86c2ca5b0c02320 (diff)
Fix Mac build
Diffstat (limited to 'JuickNext')
-rw-r--r--JuickNext/FeedView.swift9
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)
+ }
+ }
}
}
}