Update: 2026-06-29 00:09:19
This commit is contained in:
@@ -22,12 +22,6 @@ class LoginController extends GetxController {
|
|||||||
final FlutterSecureStorage storage = const FlutterSecureStorage();
|
final FlutterSecureStorage storage = const FlutterSecureStorage();
|
||||||
|
|
||||||
void login() async {
|
void login() async {
|
||||||
final emailStr = email.text.trim();
|
|
||||||
final detectedCountry = AppLink.detectCountryFromPhone(emailStr);
|
|
||||||
if (detectedCountry.isNotEmpty) {
|
|
||||||
await box.write(BoxName.countryCode, detectedCountry);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Ensure fingerprint is ready
|
// Ensure fingerprint is ready
|
||||||
String fingerprint = box.read(BoxName.fingerPrint) ?? '';
|
String fingerprint = box.read(BoxName.fingerPrint) ?? '';
|
||||||
if (fingerprint.isEmpty) {
|
if (fingerprint.isEmpty) {
|
||||||
|
|||||||
Reference in New Issue
Block a user