From 7e3818d21f63aa52e5bed6028e9735c25bf6fd3e Mon Sep 17 00:00:00 2001 From: Ivan Date: Wed, 29 Nov 2023 18:52:45 +0400 Subject: [PATCH] added support for 'mir' cards --- icons/mir.png | Bin 0 -> 858 bytes lib/src/utils/asset_paths.dart | 1 + lib/src/utils/constants.dart | 2 ++ lib/src/utils/enumerations.dart | 1 + 4 files changed, 4 insertions(+) create mode 100644 icons/mir.png diff --git a/icons/mir.png b/icons/mir.png new file mode 100644 index 0000000000000000000000000000000000000000..38224b9805fe04e12b76150f3e1e1fa59abf9b74 GIT binary patch literal 858 zcmV-g1Eu_lP)xc+sVz9FE?v3iRklq%tTRWj zK1s1aPP0Wntu|M;PFc8G4VKy_nZz}zD>kVt458yatTa-!NjR!6L9RGKt~f)lIykB2 zMzB3Ot1mdJE;*|(KCLx9tS~sLFBX~HK&>}Nus$fL*&~+73xv!+tu`Z!%@ms4K&>}b zwoL_m#|?$dMzB2vmD@Y3F*K+uH>oWEkk|l=(*TCg0D;T^mfZlG;Q)Qf+TFt20000x zbW%=J0J8#0^CLlgynuvE1S>fv3oW|s7vSKz= zyrm_clVakjtLfCpG%B?K00II@L_t(o!|j#XcG@ryKxG+kV5g1oLL9&lAnYV$Y11l% zg#7@e5HHsnG7fnh(=pGJ- zkB{AM_qN~f-`{^epx{DuDQ@^!p@>48d`H1G3Wf#GMLt<7!5a!b??+z(mU`HhoeG>O zlY&uK7kn;{1h=pTuX#prQz!x1baeqtK?#aBAxU{E$bYjh0o`;o!H_2n0U@Jh=hvyAc!70JoFIk09yByT4y(EtwuFFx5BcWqN&;_E2--8oTI2YZv8G*W zf-&?Rx|JZAH-WjL*(OpjhUQOenC(-d%^HmqyPW_07*qoM6N<$f[23, 26]: CardType.mastercard, [223, 229]: CardType.mastercard, [2221, 2229]: CardType.mastercard, + [2200, 2204]: CardType.mir, }, }; @@ -136,5 +137,6 @@ class AppConstants { CardType.discover: AssetPaths.discover, CardType.elo: AssetPaths.elo, CardType.hipercard: AssetPaths.hipercard, + CardType.mir: AssetPaths.mir, }; } diff --git a/lib/src/utils/enumerations.dart b/lib/src/utils/enumerations.dart index 3904d0c..1ad996a 100644 --- a/lib/src/utils/enumerations.dart +++ b/lib/src/utils/enumerations.dart @@ -8,6 +8,7 @@ enum CardType { discover, elo, hipercard, + mir, } /// The type of floating event.