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 15, 2023
1 parent 1ea05c6 commit 006892d
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 @@ -28,7 +28,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 006892d

Please sign in to comment.