Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 2afa04a

Browse files
authored
Merge pull request #199 from wordpress-mobile/fix/12441-update_nux_buttons
Update NUX buttons when light/dark mode toggled.
2 parents 52164a7 + 06264d4 commit 2afa04a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

WordPressAuthenticator.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "WordPressAuthenticator"
3-
s.version = "1.11.0-beta.3"
3+
s.version = "1.11.0-beta.4"
44
s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps."
55

66
s.description = <<-DESC

WordPressAuthenticator/NUX/NUXButton.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ import WordPressUI
4141
}
4242
}
4343

44+
open override func tintColorDidChange() {
45+
// Update colors when toggling light/dark mode.
46+
super.tintColorDidChange()
47+
configureBackgrounds()
48+
configureTitleColors()
49+
}
50+
51+
4452
// MARK: - Instance Methods
4553

4654

0 commit comments

Comments
 (0)