mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
@@ -26,6 +26,7 @@ class VectorHostingController: UIHostingController<AnyView> {
|
||||
|
||||
// MARK: Private
|
||||
|
||||
var hidesBackTitleWhenPushed: Bool = false
|
||||
private var theme: Theme
|
||||
|
||||
init<Content>(rootView: Content) where Content: View {
|
||||
@@ -48,6 +49,14 @@ class VectorHostingController: UIHostingController<AnyView> {
|
||||
self.update(theme: self.theme)
|
||||
}
|
||||
|
||||
override func viewDidAppear(_ animated: Bool) {
|
||||
super.viewDidAppear(animated)
|
||||
|
||||
if hidesBackTitleWhenPushed {
|
||||
vc_removeBackTitle()
|
||||
}
|
||||
}
|
||||
|
||||
override func viewDidLayoutSubviews() {
|
||||
super.viewDidLayoutSubviews()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user