Skip to content

Commit 38b6063

Browse files
committed
Remove the bar button attributes for the selected state
Button items do not have a selected state, so this was being interpreted as setting the highlighted state again.
1 parent feb4cca commit 38b6063

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Authenticator/Source/OTPAppDelegate.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ class OTPAppDelegate: UIResponder, UIApplicationDelegate {
3838
let fontAttributes = [NSFontAttributeName: barButtonItemFont]
3939
UIBarButtonItem.appearance().setTitleTextAttributes(fontAttributes, for: .normal)
4040
UIBarButtonItem.appearance().setTitleTextAttributes(fontAttributes, for: .highlighted)
41-
UIBarButtonItem.appearance().setTitleTextAttributes(fontAttributes, for: .selected)
4241

4342
let disabledAttributes = [
4443
NSFontAttributeName: barButtonItemFont,

0 commit comments

Comments
 (0)