Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Punit
2023-03-24 19:18:25 +0530
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
27bbaaa631f50bd0837a47c11200e2c2b638149d
27bbaaa6
1 parent
8cf8df06
Fix Return Result From Dialog And Bottomsheet On Get.back<T>(result: T)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
lib/get_navigation/src/extension_navigation.dart
lib/get_navigation/src/extension_navigation.dart
View file @
27bbaaa
...
...
@@ -807,7 +807,7 @@ extension GetNavigationExt on GetInterface {
//TODO: remove this when change own api to Dialog and BottomSheets
//to declarative way
if
(
isDialogOpen
!
||
isBottomSheetOpen
!)
{
searchDelegate
(
id
).
navigatorKey
.
currentState
?.
pop
();
searchDelegate
(
id
).
navigatorKey
.
currentState
?.
pop
(
result
);
return
;
}
...
...
@@ -826,7 +826,7 @@ extension GetNavigationExt on GetInterface {
}
while
((
isDialogOpen
!
&&
isBottomSheetOpen
!))
{
searchDelegate
(
id
).
navigatorKey
.
currentState
?.
pop
();
searchDelegate
(
id
).
navigatorKey
.
currentState
?.
pop
(
result
);
}
// navigator?.popUntil((route) {
...
...
Please
register
or
login
to post a comment