diff --git a/Multiplatform/iOS/AppDelegate.swift b/Multiplatform/iOS/AppDelegate.swift index 3b3c5463b..d11a0f693 100644 --- a/Multiplatform/iOS/AppDelegate.swift +++ b/Multiplatform/iOS/AppDelegate.swift @@ -68,9 +68,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD let documentAccountsFolderPath = String(documentAccountsFolder.suffix(from: documentAccountsFolder.index(documentAccountsFolder.startIndex, offsetBy: 7))) AccountManager.shared = AccountManager(accountsFolder: documentAccountsFolderPath) - let documentStylesFolder = documentFolder.appendingPathComponent("Themes").absoluteString - let documentStylesFolderPath = String(documentStylesFolder.suffix(from: documentAccountsFolder.index(documentStylesFolder.startIndex, offsetBy: 7))) - ArticleThemesManager.shared = ArticleThemesManager(folderPath: documentStylesFolderPath) + let documentThemesFolder = documentFolder.appendingPathComponent("Themes").absoluteString + let documentThemesFolderPath = String(documentThemesFolder.suffix(from: documentAccountsFolder.index(documentThemesFolder.startIndex, offsetBy: 7))) + ArticleThemesManager.shared = ArticleThemesManager(folderPath: documentThemesFolderPath) FeedProviderManager.shared.delegate = ExtensionPointManager.shared diff --git a/iOS/AppDelegate.swift b/iOS/AppDelegate.swift index c3936588d..d93eaa6ed 100644 --- a/iOS/AppDelegate.swift +++ b/iOS/AppDelegate.swift @@ -68,9 +68,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD let documentAccountsFolderPath = String(documentAccountsFolder.suffix(from: documentAccountsFolder.index(documentAccountsFolder.startIndex, offsetBy: 7))) AccountManager.shared = AccountManager(accountsFolder: documentAccountsFolderPath) - let documentStylesFolder = documentFolder.appendingPathComponent("Themes").absoluteString - let documentStylesFolderPath = String(documentStylesFolder.suffix(from: documentAccountsFolder.index(documentStylesFolder.startIndex, offsetBy: 7))) - ArticleThemesManager.shared = ArticleThemesManager(folderPath: documentStylesFolderPath) + let documentThemesFolder = documentFolder.appendingPathComponent("Themes").absoluteString + let documentThemesFolderPath = String(documentThemesFolder.suffix(from: documentAccountsFolder.index(documentThemesFolder.startIndex, offsetBy: 7))) + ArticleThemesManager.shared = ArticleThemesManager(folderPath: documentThemesFolderPath) FeedProviderManager.shared.delegate = ExtensionPointManager.shared