mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
Fix unnecessary avatar refresh
This commit is contained in:
parent
c90fef2c56
commit
44f8ee4ae1
1 changed files with 0 additions and 2 deletions
|
|
@ -21,7 +21,6 @@ import SwiftUI
|
|||
import linphonesw
|
||||
|
||||
struct Avatar: View {
|
||||
@State var id = UUID()
|
||||
|
||||
private var contactsManager = ContactsManager.shared
|
||||
|
||||
|
|
@ -77,7 +76,6 @@ struct Avatar: View {
|
|||
EmptyView()
|
||||
}
|
||||
}
|
||||
.id(id)
|
||||
} else if !contactAvatarModel.name.isEmpty {
|
||||
Image(uiImage: contactsManager.textToImage(
|
||||
firstName: contactAvatarModel.name,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue