bug fixed

This commit is contained in:
nutchayut
2024-12-13 12:26:15 +07:00
parent ed510b00d1
commit 0c7a2abe06
2 changed files with 4 additions and 4 deletions

View File

@@ -102,7 +102,7 @@ class _OtpPageState extends State<OtpPage> {
if (otp == otpConfirm) {
Navigator.pushNamed(context, '/PolicyPage');
} else {
Utils.showAlertDialog(context, "รหัส OTP ไม่ถูกต้อง");
Utils.showAlertDialog(context, "Invalid OTP Code Entered");
}
// var param = jsonEncode(<dynamic, dynamic>{"key": Api.API_KEY, "secret": Api.API_SECRET, "token": token, "pin": otp});
// Api.postStatus(context, Api.verify, param).then((value) => {
@@ -162,7 +162,7 @@ class _OtpPageState extends State<OtpPage> {
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
"ขอรหัส OTP ใหม่อีกครั้ง",
"Resend OTP",
textAlign: TextAlign.center,
style: GoogleFonts.kanit(
color: Colors.blue,