TF-624 Remove context not use
This commit is contained in:
@@ -171,12 +171,10 @@ class LoginController extends GetxController {
|
|||||||
|
|
||||||
void _getOIDCConfigurationSuccess(GetOIDCConfigurationSuccess success) {
|
void _getOIDCConfigurationSuccess(GetOIDCConfigurationSuccess success) {
|
||||||
loginState.value = LoginState(Right(success));
|
loginState.value = LoginState(Right(success));
|
||||||
if (currentContext != null) {
|
_getTokenOIDCAction(success.oidcConfiguration);
|
||||||
_getTokenOIDCAction(currentContext!, success.oidcConfiguration);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void _getTokenOIDCAction(BuildContext context, OIDCConfiguration config) async {
|
void _getTokenOIDCAction(OIDCConfiguration config) async {
|
||||||
loginState.value = LoginState(Right(LoginLoadingAction()));
|
loginState.value = LoginState(Right(LoginLoadingAction()));
|
||||||
final baseUri = kIsWeb ? _parseUri(AppConfig.baseUrl) : _parseUri(_urlText);
|
final baseUri = kIsWeb ? _parseUri(AppConfig.baseUrl) : _parseUri(_urlText);
|
||||||
if (baseUri != null) {
|
if (baseUri != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user