WT 1.1.11+3 Evaluation, null-safe fixes
This commit is contained in:
@@ -25,7 +25,7 @@ class PasswordResetBloc extends Bloc<PasswordResetEvent, PasswordResetState> {
|
||||
} else if (event is PasswordResetSubmit) {
|
||||
yield PasswordResetLoading();
|
||||
await userRepository.resetPassword();
|
||||
yield PasswordResetReady();
|
||||
yield PasswordResetFinished();
|
||||
}
|
||||
} on Exception catch (e) {
|
||||
yield PasswordResetError(message: e.toString());
|
||||
|
||||
@@ -26,3 +26,7 @@ class PasswordResetError extends PasswordResetState {
|
||||
class PasswordResetReady extends PasswordResetState {
|
||||
const PasswordResetReady();
|
||||
}
|
||||
|
||||
class PasswordResetFinished extends PasswordResetState {
|
||||
const PasswordResetFinished();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user