Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fix reader mode icon not updating between private mode/regular mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehickinson committed Sep 20, 2023
1 parent e7a8c87 commit fd69846
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,16 @@ import UIKit
import DesignSystem

class ReaderModeButton: UIButton {
var selectedTintColor: UIColor?
var unselectedTintColor: UIColor?
var selectedTintColor: UIColor? {
didSet {
updateAppearance()
}
}
var unselectedTintColor: UIColor? {
didSet {
updateAppearance()
}
}

override init(frame: CGRect) {
super.init(frame: frame)
Expand Down

0 comments on commit fd69846

Please sign in to comment.