Skip to content

Commit 21cb297

Browse files
committed
fix: fix missing sidebar issue
fixes #158
1 parent 87a00a8 commit 21cb297

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

DNSecure/Views/ContentView.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ extension ContentView: View {
226226
.navigationBarTitleDisplayMode(self.navigationBarTitleDisplayMode)
227227
} else {
228228
Text("Select a server on the sidebar")
229-
.navigationBarHidden(true)
229+
.navigationBarTitleDisplayMode(self.navigationBarTitleDisplayMode)
230230
}
231231
}
232232
.onAppear(perform: self.updateStatus)
@@ -281,7 +281,6 @@ extension ContentView: View {
281281
HowToActivateView()
282282
} else {
283283
Text("Select a server on the sidebar")
284-
.navigationBarHidden(true)
285284
}
286285
}
287286
.onAppear(perform: self.updateStatus)

0 commit comments

Comments
 (0)