mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Fixes non-readable error toast view when an authentication error occurs
This commit is contained in:
@@ -14,6 +14,11 @@ import AltStoreCore
|
||||
import AltSign
|
||||
import minimuxer
|
||||
|
||||
private extension UIColor
|
||||
{
|
||||
static let altInvertedPrimary = UIColor(named: "SettingsHighlighted")!
|
||||
}
|
||||
|
||||
typealias AuthenticationError = AuthenticationErrorCode.Error
|
||||
enum AuthenticationErrorCode: Int, ALTErrorEnum, CaseIterable
|
||||
{
|
||||
@@ -289,7 +294,7 @@ private extension AuthenticationOperation
|
||||
{
|
||||
guard let presentingViewController = self.presentingViewController else { return false }
|
||||
|
||||
self.navigationController.view.tintColor = .white
|
||||
self.navigationController.view.tintColor = .altInvertedPrimary
|
||||
|
||||
if self.navigationController.viewControllers.isEmpty
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user