mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-17 20:08:31 +00:00
Refresh devices and trust when displayed contact changes
This commit is contained in:
parent
09863890ea
commit
d9d2d24d85
2 changed files with 4 additions and 1 deletions
|
|
@ -2,6 +2,6 @@ import Foundation
|
||||||
|
|
||||||
public enum AppGitInfo {
|
public enum AppGitInfo {
|
||||||
public static let branch = "master"
|
public static let branch = "master"
|
||||||
public static let commit = "d5d1600b4"
|
public static let commit = "09863890e"
|
||||||
public static let tag = "6.1.0-alpha"
|
public static let tag = "6.1.0-alpha"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -288,6 +288,9 @@ struct ContactInnerFragment: View {
|
||||||
.onAppear {
|
.onAppear {
|
||||||
contactsListViewModel.fetchDevicesAndTrust()
|
contactsListViewModel.fetchDevicesAndTrust()
|
||||||
}
|
}
|
||||||
|
.onChange(of: SharedMainViewModel.shared.displayedFriend?.id) { _ in
|
||||||
|
contactsListViewModel.fetchDevicesAndTrust()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.frame(maxWidth: SharedMainViewModel.shared.maxWidth)
|
.frame(maxWidth: SharedMainViewModel.shared.maxWidth)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue