Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 6.3.2

- Fixed infinite loading when closing the forgotPasswordSucces screen and ForgotPasswordUnsuccessfull screen.

## 6.3.1

- Fixed a bug where the keyboard for the login username and password fields was closing because of a different LoginOptions.hashCode with the same LoginOptions values.
Expand Down
4 changes: 2 additions & 2 deletions packages/firebase_user_repository/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: firebase_user_repository
description: "firebase_user_repository for flutter_user package"
version: 6.3.1
version: 6.3.2
repository: https://github.com/Iconica-Development/flutter_user

publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
Expand All @@ -14,7 +14,7 @@ dependencies:
sdk: flutter
user_repository_interface:
hosted: https://forgejo.internal.iconica.nl/api/packages/internal/pub/
version: ^6.3.1
version: ^6.3.2
cloud_firestore: ^5.4.2
firebase_auth: ^5.3.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,15 @@ class _FlutterUserNavigatorUserstoryState
var requestPasswordReponse =
await userService!.requestChangePassword(email: email);

if (requestPasswordReponse.requestSuccesfull) {
if (context.mounted) {
await pushReplacement(_forgotPasswordSuccessScreen());
}
} else {
if (context.mounted) {
await push(_forgotPasswordUnsuccessfullScreen());
}
if (!mounted) return;
Navigator.of(context).pop();

if (!requestPasswordReponse.requestSuccesfull) {
await push(_forgotPasswordUnsuccessfullScreen());
return;
}

await pushReplacement(_forgotPasswordSuccessScreen());
}

return ForgotPasswordForm(
Expand Down Expand Up @@ -272,7 +272,7 @@ class _FlutterUserNavigatorUserstoryState

Future<void> pushReplacement(Widget screen) async {
if (!context.mounted) return;
await Navigator.of(context).push(
await Navigator.of(context).pushReplacement(
MaterialPageRoute(
builder: (context) => screen,
),
Expand Down
4 changes: 2 additions & 2 deletions packages/flutter_user/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_user
description: "Flutter Userstory for onboarding, login, and registration."
version: 6.3.1
version: 6.3.2
repository: https://github.com/Iconica-Development/flutter_user

publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
Expand All @@ -22,7 +22,7 @@ dependencies:
version: ^4.1.0
user_repository_interface:
hosted: https://forgejo.internal.iconica.nl/api/packages/internal/pub/
version: ^6.3.1
version: ^6.3.2
flutter_accessibility:
hosted: https://forgejo.internal.iconica.nl/api/packages/internal/pub
version: ^0.0.3
Expand Down
2 changes: 1 addition & 1 deletion packages/user_repository_interface/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: user_repository_interface
description: "user_repository_interface for flutter_user package"
version: 6.3.1
version: 6.3.2
repository: https://github.com/Iconica-Development/flutter_user

publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
Expand Down