From 430871c94ac80cf5610737cfbe70770b53b16a11 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 6 Jan 2025 21:03:19 -0800 Subject: [PATCH] Fix build errors related to Secrets module changes. --- iOS/Account/NewsBlurAccountViewController.swift | 2 +- iOS/AppDelegate.swift | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/iOS/Account/NewsBlurAccountViewController.swift b/iOS/Account/NewsBlurAccountViewController.swift index e7ebf6e72..d40e84fd6 100644 --- a/iOS/Account/NewsBlurAccountViewController.swift +++ b/iOS/Account/NewsBlurAccountViewController.swift @@ -117,7 +117,7 @@ class NewsBlurAccountViewController: UITableViewController { do { try self.account?.removeCredentials(type: .newsBlurBasic) - try self.account?.removeCredentials(type: .newsBlurSessionId) + try self.account?.removeCredentials(type: .newsBlurSessionID) } catch {} try self.account?.storeCredentials(basicCredentials) try self.account?.storeCredentials(sessionCredentials) diff --git a/iOS/AppDelegate.swift b/iOS/AppDelegate.swift index a6ba19dd0..70f7b9916 100644 --- a/iOS/AppDelegate.swift +++ b/iOS/AppDelegate.swift @@ -60,7 +60,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD super.init() appDelegate = self - SecretsManager.provider = Secrets() let documentFolder = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first! let documentAccountsFolder = documentFolder.appendingPathComponent("Accounts").absoluteString let documentAccountsFolderPath = String(documentAccountsFolder.suffix(from: documentAccountsFolder.index(documentAccountsFolder.startIndex, offsetBy: 7)))