mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Merge branch 'develop' into gil/SP1_space_creation
# Conflicts: # Riot/Modules/People/PeopleViewController.m # Riot/Modules/Room/Members/RoomParticipantsViewController.m # Riot/Modules/Spaces/SpaceList/SpaceListViewModel.swift
This commit is contained in:
@@ -30,6 +30,10 @@ class VectorHostingController: UIHostingController<AnyView> {
|
||||
var hidesBackTitleWhenPushed: Bool = false
|
||||
private var theme: Theme
|
||||
|
||||
// MARK: Public
|
||||
|
||||
var enableNavigationBarScrollEdgesAppearance = false
|
||||
|
||||
init<Content>(rootView: Content) where Content: View {
|
||||
self.theme = ThemeService.shared().theme
|
||||
super.init(rootView: AnyView(rootView.vectorContent()))
|
||||
@@ -89,7 +93,7 @@ class VectorHostingController: UIHostingController<AnyView> {
|
||||
|
||||
private func update(theme: Theme) {
|
||||
if let navigationBar = self.navigationController?.navigationBar {
|
||||
theme.applyStyle(onNavigationBar: navigationBar)
|
||||
theme.applyStyle(onNavigationBar: navigationBar, withModernScrollEdgesAppearance: enableNavigationBarScrollEdgesAppearance)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user