Merge pull request #161 from kkebo/fix-missing-sidebar-issue

fix: fix missing sidebar issue
This commit is contained in:
Kenta Kubo 2025-10-14 18:31:25 +09:00 committed by GitHub
commit e4775b3d44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -226,7 +226,7 @@ extension ContentView: View {
.navigationBarTitleDisplayMode(self.navigationBarTitleDisplayMode)
} else {
Text("Select a server on the sidebar")
.navigationBarHidden(true)
.navigationBarTitleDisplayMode(self.navigationBarTitleDisplayMode)
}
}
.onAppear(perform: self.updateStatus)
@ -281,7 +281,6 @@ extension ContentView: View {
HowToActivateView()
} else {
Text("Select a server on the sidebar")
.navigationBarHidden(true)
}
}
.onAppear(perform: self.updateStatus)