Use correct icon for settings (IOS-235)

This commit is contained in:
Nathan Mattes 2024-03-27 19:27:33 +01:00
parent 1d2c08b997
commit 67786e1675
2 changed files with 3 additions and 3 deletions

View File

@ -112,8 +112,8 @@ final class HomeTimelineViewController: UIViewController, NeedsDependency, Media
let settingBarButtonItem: UIBarButtonItem = {
let barButtonItem = UIBarButtonItem()
barButtonItem.tintColor = SystemTheme.tintColor
barButtonItem.image = Asset.ObjectsAndTools.gear.image.withRenderingMode(.alwaysTemplate)
barButtonItem.tintColor = Asset.Colors.Brand.blurple.color
barButtonItem.image = UIImage(systemName: "gear")
barButtonItem.accessibilityLabel = L10n.Common.Controls.Actions.settings
return barButtonItem
}()

View File

@ -55,7 +55,7 @@ final class ProfileViewController: UIViewController, NeedsDependency, MediaPrevi
private(set) lazy var settingBarButtonItem: UIBarButtonItem = {
let barButtonItem = UIBarButtonItem(
image: Asset.ObjectsAndTools.gear.image.withRenderingMode(.alwaysTemplate),
image: UIImage(systemName: "gear")?.withRenderingMode(.alwaysTemplate),
style: .plain,
target: self,
action: #selector(ProfileViewController.settingBarButtonItemPressed(_:))