Skip to content

Commit

Permalink
[#16] Integrate the top snack bar after sucessfully reseting the forg…
Browse files Browse the repository at this point in the history
…otten password
  • Loading branch information
nmint8m committed Feb 13, 2023
1 parent ca7395c commit 79e985a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/views/common/build_context_ext.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ extension BuildContextExtension on BuildContext {
late OverlayEntry newOverlayState;
newOverlayState =
OverlayEntry(builder: (_) => AnimatedTopSnackBar(child: child));
currentOverlayState.insert(newOverlayState);
currentOverlayState.insert(newOverlayState, below: null, above: null);
if (_previousEntry != null && _previousEntry!.mounted) {
_previousEntry?.remove();
}
Expand Down

0 comments on commit 79e985a

Please sign in to comment.