mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 10:02:46 +02:00
Room directory: Fix crash
#4137 This is a quick fix. We should remove all forced unwrapping
This commit is contained in:
@@ -97,7 +97,7 @@ extension DirectoryRoomTableViewCell: Themable {
|
||||
numberOfUsersLabel.textColor = theme.textSecondaryColor
|
||||
topicLabel.textColor = theme.textSecondaryColor
|
||||
|
||||
if viewModel.isJoined {
|
||||
if let viewModel = viewModel, viewModel.isJoined {
|
||||
joinButton.backgroundColor = theme.backgroundColor
|
||||
joinButton.tintColor = theme.textSecondaryColor
|
||||
joinButton.layer.borderWidth = 1.0
|
||||
|
||||
Reference in New Issue
Block a user