fix: set background color on setting change

This commit is contained in:
2026-08-04 23:09:18 +02:00
parent 7a8bd1c106
commit 1024476e59
+4
View File
@@ -922,6 +922,10 @@ final class ViewController: UIViewController, UIGestureRecognizerDelegate {
let mode = getMode()
if state[currentPath.lastPathComponent]?.backgroundColor == nil {
readerView.backgroundColor = convertStringToColor(settings.defaultReadingBackgroundColor)
}
scrollingCollectionView.isHidden = mode != .scroll
leftView.isHidden = mode == .scroll
rightView.isHidden = mode == .scroll