Commit Graph

7 Commits

Author SHA1 Message Date
Stuart Breckenridge
2bca08195e Localization work 2022-12-30 21:53:07 +08:00
Maurice Parker
b7b9344e3d Change how we handle errors when working with Themes 2022-11-08 01:36:28 -06:00
Stuart Breckenridge
0dd4689bf0 Logging changes
- Adds `Logging` protocol
- Moves to Swift-style `OSLog` usage

os_log to Logger

os_log audit

Replacment of os.log with Logging
2022-09-04 21:31:03 +08:00
Maurice Parker
063da4ac02 Change to no longer copy app distributed themes to the Themes folder. Fixes #3447 2022-02-07 16:28:20 -08:00
Maurice Parker
fc6719939e Correct label 2022-02-04 10:55:46 -08:00
Stuart Breckenridge
78e0595708 Various ThemeDownloader Updates
- `try` added where applicable to ArticleTheme inits
- `ArticleThemePlist` has fixed spelling of theme identifier and conforms to Equatable
- `ArticleTheme` now uses `ArticleThemePlist`
-  `ArticleThemeDownloader` is now a class
- `ArticleThemeDownloader` will now download themes to Application Support/NetNewsWire/Downloads on macOS and iOS.
- `ArticleThemeDownloader` will remove downloaded themes from the Download folder when the application is closed.
- macOS app delegate now observes for theme download fails
- Error display code moved from SceneDelegate to SceneCoordinator so that it can use existing presentError on rootVC.
2021-09-21 09:10:56 +08:00
Maurice Parker
42bcaf7e55 Extract Theme Import logic so that it can be reused 2021-09-18 10:28:19 -05:00