Update Riot/Modules/Room/RoomInfo/RoomInfoList/Views/RoomInfoBasicView.swift

Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
This commit is contained in:
ismailgulek 2020-09-23 18:24:12 +03:00 committed by GitHub
parent 409082a891
commit c6a3fcaedc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,7 +60,7 @@ class RoomInfoBasicView: UIView {
badgeImageView.image = viewData.encryptionImage
roomNameLabel.text = viewData.roomDisplayName
roomAddressLabel.text = viewData.mainRoomAlias
roomAddressLabel.isHidden = (roomAddressLabel.text?.count ?? 0) == 0
roomAddressLabel.isHidden = roomAddressLabel.text?.isEmpty ?? true
roomTopicLabel.text = viewData.roomTopic
roomTopicLabel.isHidden = (roomTopicLabel.text?.count ?? 0) == 0
}