Move location of Reader View button

This commit is contained in:
Maurice Parker
2019-09-27 11:20:26 -05:00
parent 401f791779
commit 9da949114f
3 changed files with 23 additions and 23 deletions

View File

@@ -17,6 +17,15 @@ enum ArticleExtractorButtonState {
class ArticleExtractorButton: UIButton {
init() {
super.init(frame: .zero)
setImage(AppAssets.articleExtractorOff, for: .normal)
}
required init?(coder: NSCoder) {
super.init(coder: coder)
}
var buttonState: ArticleExtractorButtonState = .off {
didSet {
if buttonState != oldValue {