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),
),
),
);

View File

@@ -173,11 +173,11 @@ packages:
dependency: "direct main"
description:
path: "."
ref: patch-1
resolved-ref: f78f22dcc19306f2a602b1c50f3c7a324456be9c
ref: main
resolved-ref: "19d83cba60de91143491a441b5076583bf1681a8"
url: "https://github.com/hiddify-com/flutter_circle_flags.git"
source: git
version: "4.0.2"
version: "4.1.0"
cli_util:
dependency: transitive
description:

View File

@@ -77,7 +77,7 @@ dependencies:
circle_flags:
git:
url: https://github.com/hiddify-com/flutter_circle_flags.git
ref: patch-1
ref: main
http: ^1.2.0
timezone_to_country: ^2.1.0
json_path: ^0.7.1