mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
cache encryptedButton dan un chatroom unencrypted
This commit is contained in:
parent
e2c72e780e
commit
db6dccbcd4
1 changed files with 3 additions and 1 deletions
|
|
@ -229,7 +229,9 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
[_tableController setChatRoom:_chatRoom];
|
||||
|
||||
_chatView.hidden = NO;
|
||||
[_encryptedButton setImage:[FastAddressBook imageForSecurityLevel:linphone_chat_room_get_security_level(_chatRoom)] forState:UIControlStateNormal];
|
||||
UIImage *image = [FastAddressBook imageForSecurityLevel:linphone_chat_room_get_security_level(_chatRoom)];
|
||||
[_encryptedButton setImage:image forState:UIControlStateNormal];
|
||||
_encryptedButton.hidden = image ? FALSE : TRUE;
|
||||
[self update];
|
||||
[self shareFile];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue