完善账号切换展示、首页菜单图标与有线传输设置 chip。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -128,7 +128,7 @@ final class HomeMenuCell: UICollectionViewCell {
|
||||
}
|
||||
|
||||
func apply(menu: HomeMenuItem) {
|
||||
iconView.image = UIImage(named: menu.iconName) ?? UIImage(systemName: menu.iconName)
|
||||
iconView.image = HomeMenuIconFactory.image(named: menu.iconName)
|
||||
iconView.accessibilityIdentifier = menu.iconName
|
||||
titleLabel.text = menu.title
|
||||
}
|
||||
@ -147,6 +147,8 @@ final class HomeMenuCell: UICollectionViewCell {
|
||||
|
||||
iconView.tintColor = AppColor.primary
|
||||
iconView.contentMode = .scaleAspectFit
|
||||
iconView.preferredSymbolConfiguration = HomeMenuIconFactory.symbolConfiguration
|
||||
|
||||
|
||||
contentStackView.axis = .vertical
|
||||
contentStackView.alignment = .center
|
||||
|
||||
Reference in New Issue
Block a user