mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 18:12:44 +02:00
Space panel overflow journeys & rough edge warnings #5227
- space menu additions according to new requirements
This commit is contained in:
@@ -23,6 +23,8 @@ class SpaceMenuListViewCell: UITableViewCell, SpaceMenuCell, NibReusable {
|
||||
|
||||
@IBOutlet private weak var iconView: UIImageView!
|
||||
@IBOutlet private weak var titleLabel: UILabel!
|
||||
@IBOutlet private weak var betaView: UIView!
|
||||
@IBOutlet private weak var betaLabel: UILabel!
|
||||
@IBOutlet private weak var selectionView: UIView!
|
||||
|
||||
// MARK: - Private
|
||||
@@ -64,6 +66,10 @@ class SpaceMenuListViewCell: UITableViewCell, SpaceMenuCell, NibReusable {
|
||||
self.titleLabel.textColor = theme.colors.primaryContent
|
||||
self.iconView.tintColor = theme.colors.secondaryContent
|
||||
}
|
||||
|
||||
self.betaView.layer.masksToBounds = true
|
||||
self.betaView.layer.cornerRadius = 4
|
||||
self.betaView.isHidden = !viewData.isBeta
|
||||
}
|
||||
|
||||
func update(theme: Theme) {
|
||||
@@ -73,5 +79,8 @@ class SpaceMenuListViewCell: UITableViewCell, SpaceMenuCell, NibReusable {
|
||||
self.titleLabel.textColor = theme.colors.primaryContent
|
||||
self.titleLabel.font = theme.fonts.body
|
||||
self.selectionView.backgroundColor = theme.colors.separator
|
||||
self.betaLabel.font = theme.fonts.caption2SB
|
||||
self.betaLabel.textColor = theme.colors.secondaryContent
|
||||
self.betaView.backgroundColor = theme.colors.quinaryContent
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user