Skip to content

Commit e4775b3

Browse files
authored
Merge pull request #161 from kkebo/fix-missing-sidebar-issue
fix: fix missing sidebar issue
2 parents 87a00a8 + 21cb297 commit e4775b3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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)