mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-18 03:03:31 +01:00
Fixes non-legible toast view in AuthenticationViewController
This commit is contained in:
@@ -104,6 +104,8 @@ private extension AuthenticationViewController
|
|||||||
{
|
{
|
||||||
DispatchQueue.main.async {
|
DispatchQueue.main.async {
|
||||||
let toastView = ToastView(text: NSLocalizedString("Failed to Log In", comment: ""), detailText: error.localizedDescription)
|
let toastView = ToastView(text: NSLocalizedString("Failed to Log In", comment: ""), detailText: error.localizedDescription)
|
||||||
|
toastView.textLabel.textColor = .altPink
|
||||||
|
toastView.detailTextLabel.textColor = .altPink
|
||||||
toastView.show(in: self.navigationController?.view ?? self.view)
|
toastView.show(in: self.navigationController?.view ?? self.view)
|
||||||
self.toastView = toastView
|
self.toastView = toastView
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user