From 800e909cd09f5bd73a6db3fd042e86020a1fd50b Mon Sep 17 00:00:00 2001 From: David <62899351+davidclaveau@users.noreply.github.com> Date: Thu, 25 Jan 2024 15:59:38 -0800 Subject: [PATCH] fix to keycloak awaiting access, set to dev for testflight --- ipad/Constants/AppRemoteAPIConst.swift | 2 +- .../Entry Point/ViewController.swift | 2 +- .../AwaitingAccessResponse.xib | 25 ++++++++++--------- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/ipad/Constants/AppRemoteAPIConst.swift b/ipad/Constants/AppRemoteAPIConst.swift index 44e2a824..71d48571 100644 --- a/ipad/Constants/AppRemoteAPIConst.swift +++ b/ipad/Constants/AppRemoteAPIConst.swift @@ -57,7 +57,7 @@ class RemoteURLManager { static var `default` = { // Here We Can use Target Flag to customize // Switch Env - return RemoteURLManager(.prod) + return RemoteURLManager(.dev) }() init(_ env: RemoteEnv) { diff --git a/ipad/ViewControllers/Entry Point/ViewController.swift b/ipad/ViewControllers/Entry Point/ViewController.swift index 2c6bc631..0cdb32ca 100644 --- a/ipad/ViewControllers/Entry Point/ViewController.swift +++ b/ipad/ViewControllers/Entry Point/ViewController.swift @@ -54,7 +54,7 @@ class ViewController: UIViewController, Theme { awaitingAccessResponseView.show(in: self.view, onRefresh: { [weak self] in guard let _self = self else {return} awaitingAccessResponseView.removeFromSuperview() - _self.presentNext() + _self.segueToLoginPage() }) } diff --git a/ipad/Views/AwaitingAccessResponse/AwaitingAccessResponse.xib b/ipad/Views/AwaitingAccessResponse/AwaitingAccessResponse.xib index cdeaf346..b2ccd11b 100644 --- a/ipad/Views/AwaitingAccessResponse/AwaitingAccessResponse.xib +++ b/ipad/Views/AwaitingAccessResponse/AwaitingAccessResponse.xib @@ -1,29 +1,30 @@ - - + + - + + - - + + - + + @@ -54,7 +56,6 @@ - @@ -64,6 +65,6 @@ - +