From d3aad23568d2642e982618f3df8f02eba6830e87 Mon Sep 17 00:00:00 2001 From: Tommy <52971804+ISnackable@users.noreply.github.com> Date: Thu, 10 Sep 2020 10:55:58 +0800 Subject: [PATCH] Added recents for 4anime & changed Preferences > Settings (#174) * Add recents anime for 4anime * Change Preferences to Settings * Update preferences -> settings --- NineAnimator/AppDelegate+Environment.swift | 2 +- NineAnimator/Base.lproj/Settings.storyboard | 20 +-- NineAnimator/Base.lproj/Setup.storyboard | 6 +- ...verySceneViewController+QuickActions.swift | 2 +- .../Player Scene/NativePlayerController.swift | 2 +- .../SettingsDownloadsController.swift | 2 +- .../SetupThemeViewController.swift | 2 +- .../UserNotificationManager.swift | 2 +- .../4anime.to/FourAnime+Anime.swift | 141 ++++++++++-------- .../4anime.to/FourAnime+Featured.swift | 29 +++- .../Models/User/User+HomeIntegration.swift | 2 +- .../Models/User/User+Preferences.swift | 4 +- .../ScreenshotAutomation.swift | 2 +- README.md | 6 +- docs/third-party-lists.md | 2 +- 15 files changed, 131 insertions(+), 93 deletions(-) diff --git a/NineAnimator/AppDelegate+Environment.swift b/NineAnimator/AppDelegate+Environment.swift index f84860ef8..9730df711 100644 --- a/NineAnimator/AppDelegate+Environment.swift +++ b/NineAnimator/AppDelegate+Environment.swift @@ -40,7 +40,7 @@ extension AppDelegate { // NINEANIMATOR_APPEARANCE_OVERRIDE: Theme Override if let overridingTheme = NineAnimator.runtime.overridingAppearanceName { if let theme = Theme.availableThemes[overridingTheme] { - Log.info("[AppDelegate.Environment] Updating appearance to '%@' (note this will not change the preferences in the user settings)...", overridingTheme) + Log.info("[AppDelegate.Environment] Updating appearance to '%@' (note this will not change the setting in the user settings)...", overridingTheme) Theme.setTheme(theme) } else { Log.error("[AppDelegate.Environment] Appearance '%@' is undefined.", overridingTheme) diff --git a/NineAnimator/Base.lproj/Settings.storyboard b/NineAnimator/Base.lproj/Settings.storyboard index f6292e2fe..9cea1f852 100644 --- a/NineAnimator/Base.lproj/Settings.storyboard +++ b/NineAnimator/Base.lproj/Settings.storyboard @@ -1,5 +1,5 @@ - + @@ -7,7 +7,7 @@ - + @@ -504,11 +504,11 @@ Fallback to Browser directs the app to open the playback page in Safari when fai - +