Use correct icon for settings (IOS-235)
This commit is contained in:
parent
1d2c08b997
commit
67786e1675
|
@ -112,8 +112,8 @@ final class HomeTimelineViewController: UIViewController, NeedsDependency, Media
|
||||||
|
|
||||||
let settingBarButtonItem: UIBarButtonItem = {
|
let settingBarButtonItem: UIBarButtonItem = {
|
||||||
let barButtonItem = UIBarButtonItem()
|
let barButtonItem = UIBarButtonItem()
|
||||||
barButtonItem.tintColor = SystemTheme.tintColor
|
barButtonItem.tintColor = Asset.Colors.Brand.blurple.color
|
||||||
barButtonItem.image = Asset.ObjectsAndTools.gear.image.withRenderingMode(.alwaysTemplate)
|
barButtonItem.image = UIImage(systemName: "gear")
|
||||||
barButtonItem.accessibilityLabel = L10n.Common.Controls.Actions.settings
|
barButtonItem.accessibilityLabel = L10n.Common.Controls.Actions.settings
|
||||||
return barButtonItem
|
return barButtonItem
|
||||||
}()
|
}()
|
||||||
|
|
|
@ -55,7 +55,7 @@ final class ProfileViewController: UIViewController, NeedsDependency, MediaPrevi
|
||||||
|
|
||||||
private(set) lazy var settingBarButtonItem: UIBarButtonItem = {
|
private(set) lazy var settingBarButtonItem: UIBarButtonItem = {
|
||||||
let barButtonItem = UIBarButtonItem(
|
let barButtonItem = UIBarButtonItem(
|
||||||
image: Asset.ObjectsAndTools.gear.image.withRenderingMode(.alwaysTemplate),
|
image: UIImage(systemName: "gear")?.withRenderingMode(.alwaysTemplate),
|
||||||
style: .plain,
|
style: .plain,
|
||||||
target: self,
|
target: self,
|
||||||
action: #selector(ProfileViewController.settingBarButtonItemPressed(_:))
|
action: #selector(ProfileViewController.settingBarButtonItemPressed(_:))
|
||||||
|
|
Loading…
Reference in New Issue