From 517bc874906e5b81cade91f5c7903736779fbeb0 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 15 May 2024 09:44:42 +0300 Subject: Fix Mac build --- JuickNext/FeedView.swift | 9 +++++++-- 1 file 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) + } + } } } } -- cgit v1.2.3