Skip to content

Commit aaddb1b

Browse files
committed
Quick fix for notifications navbar button
1 parent f9b871d commit aaddb1b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

WooCommerce/Classes/ViewRelated/Notifications/NotificationsViewController.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,15 @@ private extension NotificationsViewController {
123123
/// Setup: NavigationBar Buttons
124124
///
125125
func configureNavigationBarButtons() {
126-
let rightBarButton = UIBarButtonItem(image: Gridicon.iconOfType(.menus),
126+
let leftBarButton = UIBarButtonItem(image: Gridicon.iconOfType(.checkmark),
127127
style: .plain,
128128
target: self,
129129
action: #selector(markAllAsRead))
130-
rightBarButton.tintColor = .white
131-
rightBarButton.accessibilityTraits = .button
132-
rightBarButton.accessibilityLabel = NSLocalizedString("Mark All as Read", comment: "Accessibility label for the Mark All Notifications as Read Button")
133-
rightBarButton.accessibilityHint = NSLocalizedString("Marks Every Notification as Read", comment: "VoiceOver accessibility hint for the Mark All Notifications as Read Action")
134-
navigationItem.rightBarButtonItem = rightBarButton
130+
leftBarButton.tintColor = .white
131+
leftBarButton.accessibilityTraits = .button
132+
leftBarButton.accessibilityLabel = NSLocalizedString("Mark All as Read", comment: "Accessibility label for the Mark All Notifications as Read Button")
133+
leftBarButton.accessibilityHint = NSLocalizedString("Marks Every Notification as Read", comment: "VoiceOver accessibility hint for the Mark All Notifications as Read Action")
134+
navigationItem.leftBarButtonItem = leftBarButton
135135
}
136136

137137
/// Setup: TableView

0 commit comments

Comments
 (0)