mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
Refresh view when config is applied
This commit is contained in:
parent
aed6876065
commit
221f0b10d7
3 changed files with 5 additions and 1 deletions
|
|
@ -59,6 +59,8 @@ class CoreContext: ObservableObject {
|
|||
|
||||
var digestAuthInfoPendingPasswordUpdate: AuthInfo?
|
||||
|
||||
@Published var reloadID = UUID()
|
||||
|
||||
private init() {
|
||||
do {
|
||||
try initialiseCore()
|
||||
|
|
@ -337,6 +339,7 @@ class CoreContext: ObservableObject {
|
|||
}
|
||||
self.accounts = accountModels
|
||||
ThemeManager.shared.applyTheme(named: themeMainColor)
|
||||
self.reloadID = UUID()
|
||||
}
|
||||
}
|
||||
}, onLogCollectionUploadStateChanged: { (_: Core, _: Core.LogCollectionUploadState, info: String) in
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@ import Foundation
|
|||
|
||||
public enum AppGitInfo {
|
||||
public static let branch = "master"
|
||||
public static let commit = "4f7e4b0c3"
|
||||
public static let commit = "aed687606"
|
||||
public static let tag = "6.1.0-alpha"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1586,6 +1586,7 @@ struct ContentView: View {
|
|||
}
|
||||
}
|
||||
}
|
||||
.id(coreContext.reloadID)
|
||||
}
|
||||
|
||||
func openMenu() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue