Update: 2026-06-14 22:10:07
This commit is contained in:
@@ -82,7 +82,7 @@ class CountryLogic {
|
||||
/// Helper to format phone using the current country in box.
|
||||
static String formatCurrentCountryPhone(String phone) {
|
||||
String cleanPhone = phone.replaceAll(RegExp(r'[ \-\(\)\+]'), '').trim();
|
||||
|
||||
|
||||
// 1. Explicit International Code Detection
|
||||
if (cleanPhone.startsWith('00963')) {
|
||||
cleanPhone = cleanPhone.replaceFirst('00963', '963');
|
||||
|
||||
Reference in New Issue
Block a user