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:25 +03:00 committed by GitHub
parent c6a3fcaedc
commit 037eb8ac7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ class RoomInfoBasicView: UIView {
roomAddressLabel.text = viewData.mainRoomAlias
roomAddressLabel.isHidden = roomAddressLabel.text?.isEmpty ?? true
roomTopicLabel.text = viewData.roomTopic
roomTopicLabel.isHidden = (roomTopicLabel.text?.count ?? 0) == 0
roomTopicLabel.isHidden = roomTopicLabel.text?.isEmpty ?? true
}
}