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:
@@ -13,6 +13,11 @@ import Network
|
||||
import AltStoreCore
|
||||
import AltSign
|
||||
|
||||
private extension UIColor
|
||||
{
|
||||
static let altInvertedPrimary = UIColor(named: "SettingsHighlighted")!
|
||||
}
|
||||
|
||||
typealias AuthenticationError = AuthenticationErrorCode.Error
|
||||
enum AuthenticationErrorCode: Int, ALTErrorEnum, CaseIterable
|
||||
{
|
||||
@@ -288,7 +293,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
|
||||
{
|
||||
|
||||
2
Dependencies/AltSign
vendored
2
Dependencies/AltSign
vendored
Submodule Dependencies/AltSign updated: 3f300e4ed8...db120fcfc4
Reference in New Issue
Block a user