This commit is contained in:
Hamza-Ayed
2024-07-07 12:25:20 +03:00
parent 819a32eec1
commit 9925e12447
8 changed files with 189 additions and 164 deletions

View File

@@ -74,7 +74,7 @@ class LoginController extends GetxController {
var jsonDecoeded = jsonDecode(res);
if (jsonDecoeded.isNotEmpty) {
if (jsonDecoeded['status'] == 'success' &&
jsonDecoeded['data'][0]['verified'] == 1) {
jsonDecoeded['data'][0]['verified'].toString() == '1') {
//
box.write(BoxName.isVerified, '1');
box.write(BoxName.email, jsonDecoeded['data'][0]['email']);