This commit focuses on the `ArticleViewController`:

- Adds an "Aa" menu to the article view that allows for theme changes and full screen article toggling on iPhone, and theme changes on iPad.
- Removes separate Settings option for full screen availability on iPhone.
- Removes tap target in nav bar to enable full screen mode.
This commit is contained in:
Stuart Breckenridge
2022-02-10 12:13:06 +08:00
parent 106ce36a21
commit 08618f5f15
7 changed files with 158 additions and 164 deletions

View File

@@ -168,15 +168,6 @@ final class AppDefaults {
}
}
var articleFullscreenAvailable: Bool {
get {
return AppDefaults.bool(for: Key.articleFullscreenAvailable)
}
set {
AppDefaults.setBool(for: Key.articleFullscreenAvailable, newValue)
}
}
var articleFullscreenEnabled: Bool {
get {
return AppDefaults.bool(for: Key.articleFullscreenEnabled)