bug fixed

This commit is contained in:
nutchayut
2025-01-08 21:57:03 +07:00
parent 700e63c054
commit 820cd73b88
31 changed files with 73 additions and 181 deletions

View File

@@ -286,6 +286,7 @@ class _PayQrDialogState extends State<PayQrDialog> {
*/
import 'dart:io';
import 'dart:typed_data';
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:path_provider/path_provider.dart';
@@ -389,7 +390,8 @@ class _PayQrDialogState extends State<PayQrDialog> {
}).catchError((onError) {
print(onError);
});
Navigator.popUntil(
context, ModalRoute.withName('/HomePage'));
},
child: Container(
margin: EdgeInsets.only(top: 20, bottom: 20),
@@ -414,7 +416,7 @@ class _PayQrDialogState extends State<PayQrDialog> {
width: 106,
height: 32,
child: Text(
"บันทึกสลิป",
"บันทึกและปิด".tr(),
textAlign: TextAlign.center,
style: GoogleFonts.kanit(
color: Colors.white,