mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-28 00:24:54 +00:00
Bug fixes
This commit is contained in:
@ -253,7 +253,7 @@ class AuthCubit extends Cubit<AuthState> {
|
||||
emit(AuthLoginError(message: 'Something went wrong'));
|
||||
}
|
||||
} catch (failure) {
|
||||
emit(AuthLoginError(message: failure.toString()));
|
||||
emit(AuthLoginError(message: 'Something went wrong'));
|
||||
return;
|
||||
}
|
||||
}
|
||||
@ -268,7 +268,7 @@ class AuthCubit extends Cubit<AuthState> {
|
||||
(Route route) => false,
|
||||
);
|
||||
} catch (failure) {
|
||||
emit(AuthLogoutError(message: failure.toString()));
|
||||
emit(AuthLogoutError(message: 'Something went wrong'));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user