From 104bc82c3f102b2f13695e31ae6721f326ec19da Mon Sep 17 00:00:00 2001 From: Edouard Marquez Date: Fri, 2 Aug 2024 11:46:40 +0200 Subject: [PATCH] Fix UK flag --- 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); }