[mob][photos] Fix buggy create album

This commit is contained in:
ashilkn
2024-10-21 20:28:27 +05:30
parent 4edbc69bf2
commit 1a92a9e967
3 changed files with 9 additions and 3 deletions

View File

@@ -180,6 +180,7 @@ class TextInputDialog extends StatefulWidget {
final TextEditingController? textEditingController;
final List<TextInputFormatter>? textInputFormatter;
final TextInputType? textInputType;
final bool popnavAfterSubmission;
const TextInputDialog({
required this.title,
this.body,
@@ -200,6 +201,7 @@ class TextInputDialog extends StatefulWidget {
this.textEditingController,
this.textInputFormatter,
this.textInputType,
this.popnavAfterSubmission = true,
super.key,
});
@@ -273,7 +275,7 @@ class _TextInputDialogState extends State<TextInputDialog> {
maxLength: widget.maxLength,
submitNotifier: _submitNotifier,
onSubmit: widget.onSubmit,
popNavAfterSubmission: true,
popNavAfterSubmission: widget.popnavAfterSubmission,
showOnlyLoadingState: widget.showOnlyLoadingState,
textCapitalization: widget.textCapitalization,
alwaysShowSuccessState: widget.alwaysShowSuccessState,