mirror of
https://github.com/immich-app/immich.git
synced 2025-06-23 15:30:51 -04:00
fix(mobile): After editing people name, back button close the app (#18992)
* fix: update dialog to not use root navigator in multiple pages so back button won't close the app * Remove unrelated changes to PR
This commit is contained in:
parent
75c24f0023
commit
e88eb44aba
@ -27,6 +27,7 @@ class PeopleCollectionPage extends HookConsumerWidget {
|
||||
) {
|
||||
return showDialog(
|
||||
context: context,
|
||||
useRootNavigator: false,
|
||||
builder: (BuildContext context) {
|
||||
return PersonNameEditForm(personId: personId, personName: personName);
|
||||
},
|
||||
|
@ -28,6 +28,7 @@ class PersonResultPage extends HookConsumerWidget {
|
||||
showEditNameDialog() {
|
||||
showDialog(
|
||||
context: context,
|
||||
useRootNavigator: false,
|
||||
builder: (BuildContext context) {
|
||||
return PersonNameEditForm(
|
||||
personId: personId,
|
||||
|
@ -31,6 +31,7 @@ class PeopleInfo extends ConsumerWidget {
|
||||
) {
|
||||
return showDialog(
|
||||
context: context,
|
||||
useRootNavigator: false,
|
||||
builder: (BuildContext context) {
|
||||
return PersonNameEditForm(personId: personId, personName: personName);
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user