fix: flag
This commit is contained in:
@@ -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),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user