Fix bug that prevented us from returning to the original text size

This commit is contained in:
Maurice Parker 2021-11-01 21:24:56 -05:00
parent c16a231530
commit c26f09ad1c

View File

@ -155,6 +155,7 @@ final class DetailWebViewController: NSViewController {
@objc func userDefaultsDidChange(_ note: Notification) {
if articleTextSize != AppDefaults.shared.articleTextSize {
articleTextSize = AppDefaults.shared.articleTextSize
reloadHTMLMaintainingScrollPosition()
}
}