mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Dynamic update of colours upon theme change
This commit is contained in:
parent
b75db70d19
commit
0a06644473
1 changed files with 2 additions and 0 deletions
|
|
@ -259,6 +259,7 @@ struct MainViewSwitcher: View {
|
|||
let sharedMainViewModel: SharedMainViewModel
|
||||
@Binding var pendingURL: URL?
|
||||
let appDelegate: AppDelegate
|
||||
@ObservedObject private var colors = ColorProvider.shared
|
||||
|
||||
var body: some View {
|
||||
selectedMainView()
|
||||
|
|
@ -277,5 +278,6 @@ struct MainViewSwitcher: View {
|
|||
navigationManager.openChatRoom(callId: callId, peerAddr: peerAddr, localAddr: localAddr)
|
||||
}
|
||||
}
|
||||
.id(colors.theme.name)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue