TF-624 Remove context not use

This commit is contained in:
dab246
2022-06-07 18:14:26 +07:00
committed by Dat H. Pham
parent 217a3ccc9e
commit e81562e315
@@ -171,12 +171,10 @@ class LoginController extends GetxController {
void _getOIDCConfigurationSuccess(GetOIDCConfigurationSuccess success) {
loginState.value = LoginState(Right(success));
if (currentContext != null) {
_getTokenOIDCAction(currentContext!, success.oidcConfiguration);
}
_getTokenOIDCAction(success.oidcConfiguration);
}
void _getTokenOIDCAction(BuildContext context, OIDCConfiguration config) async {
void _getTokenOIDCAction(OIDCConfiguration config) async {
loginState.value = LoginState(Right(LoginLoadingAction()));
final baseUri = kIsWeb ? _parseUri(AppConfig.baseUrl) : _parseUri(_urlText);
if (baseUri != null) {