fix: flag

This commit is contained in:
Hiddify
2024-03-09 22:15:54 +01:00
parent ce4a7ad918
commit 9373698ea7
3 changed files with 6 additions and 5 deletions

View File

@@ -132,7 +132,8 @@ class IPCountryFlag extends HookConsumerWidget {
height: size,
padding: const EdgeInsets.all(2),
child: Center(
child: CircleFlag(countryCode == "ir" ? "ir-shir" : countryCode),
child: CircleFlag(
countryCode.toLowerCase() == "ir" ? "ir-shir" : countryCode),
),
),
);