From b938153f592662c53d3d47d158b2c42387d9ca2c Mon Sep 17 00:00:00 2001 From: Edouard Marquez Date: Fri, 2 Aug 2024 17:32:57 +0200 Subject: [PATCH] Fix UK flag (#5518) --- packages/smooth_app/lib/pages/prices/emoji_helper.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/smooth_app/lib/pages/prices/emoji_helper.dart b/packages/smooth_app/lib/pages/prices/emoji_helper.dart index 5b56715dccf..57a5d2b6aff 100644 --- a/packages/smooth_app/lib/pages/prices/emoji_helper.dart +++ b/packages/smooth_app/lib/pages/prices/emoji_helper.dart @@ -17,7 +17,10 @@ class EmojiHelper { static String? getEmojiByCountryCode(final String countryCode) { if (countryCode.isEmpty) { return null; + } else if (countryCode.toUpperCase() == 'UK') { + return _getCountryEmojiFromUnicode('GB'); } + return _getCountryEmojiFromUnicode(countryCode); }