1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-07 23:03:36 +02: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:
JobiJoba
2025-06-09 09:53:03 +07:00
committed by GitHub
parent 75c24f0023
commit e88eb44aba
3 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,7 @@ class PeopleCollectionPage extends HookConsumerWidget {
) {
return showDialog(
context: context,
useRootNavigator: false,
builder: (BuildContext context) {
return PersonNameEditForm(personId: personId, personName: personName);
},

View File

@ -28,6 +28,7 @@ class PersonResultPage extends HookConsumerWidget {
showEditNameDialog() {
showDialog(
context: context,
useRootNavigator: false,
builder: (BuildContext context) {
return PersonNameEditForm(
personId: personId,

View File

@ -31,6 +31,7 @@ class PeopleInfo extends ConsumerWidget {
) {
return showDialog(
context: context,
useRootNavigator: false,
builder: (BuildContext context) {
return PersonNameEditForm(personId: personId, personName: personName);
},