From b6e4ee4e92042e886c0ff3e5e9857b36a2f5e518 Mon Sep 17 00:00:00 2001 From: CorentiOS <43886135+CorentiOS@users.noreply.github.com> Date: Mon, 6 Dec 2021 22:54:43 +0100 Subject: [PATCH] fix: #146 - Valwin logo, Bimedoc logo Co-authored-by: corentios <> --- ViteMaDose/Models/PartnerLogo.swift | 7 +++- .../Images/Valwin.imageset/Contents.json | 15 ++++++++ .../Images/Valwin.imageset/logo_valwin.png | Bin 0 -> 9204 bytes .../Home/Footer/HomePartnersFooterView.swift | 6 ++-- .../Home/Footer/HomePartnersFooterView.xib | 32 +++++++++++++----- 5 files changed, 49 insertions(+), 11 deletions(-) create mode 100644 ViteMaDose/Resources/Assets.xcassets/Images/Valwin.imageset/Contents.json create mode 100644 ViteMaDose/Resources/Assets.xcassets/Images/Valwin.imageset/logo_valwin.png diff --git a/ViteMaDose/Models/PartnerLogo.swift b/ViteMaDose/Models/PartnerLogo.swift index 248317f4..af62cc45 100644 --- a/ViteMaDose/Models/PartnerLogo.swift +++ b/ViteMaDose/Models/PartnerLogo.swift @@ -15,7 +15,8 @@ enum PartnerLogo: String, CaseIterable, Equatable { case maPharma = "Mapharma" case avecMonDoc = "AvecMonDoc" case meSoigner = "mesoigner" - case bimedoc = "Bimedoc" + case bimedoc = "bimedoc" + case valwin = "Valwin" var image: UIImage? { switch self { @@ -35,6 +36,8 @@ enum PartnerLogo: String, CaseIterable, Equatable { return UIImage(named: PartnerLogo.meSoigner.rawValue) case .bimedoc: return UIImage(named: PartnerLogo.bimedoc.rawValue) + case .valwin: + return UIImage(named: PartnerLogo.valwin.rawValue) } } @@ -56,6 +59,8 @@ enum PartnerLogo: String, CaseIterable, Equatable { self = .meSoigner case PartnerLogo.bimedoc.rawValue: self = .bimedoc + case PartnerLogo.valwin.rawValue: + self = .valwin default: return nil } diff --git a/ViteMaDose/Resources/Assets.xcassets/Images/Valwin.imageset/Contents.json b/ViteMaDose/Resources/Assets.xcassets/Images/Valwin.imageset/Contents.json new file mode 100644 index 00000000..a814cb4a --- /dev/null +++ b/ViteMaDose/Resources/Assets.xcassets/Images/Valwin.imageset/Contents.json @@ -0,0 +1,15 @@ +{ + "images" : [ + { + "filename" : "logo_valwin.png", + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + }, + "properties" : { + "preserves-vector-representation" : true + } +} diff --git a/ViteMaDose/Resources/Assets.xcassets/Images/Valwin.imageset/logo_valwin.png b/ViteMaDose/Resources/Assets.xcassets/Images/Valwin.imageset/logo_valwin.png new file mode 100644 index 0000000000000000000000000000000000000000..683a4d9ed527ffaf6265e7b546b340ab54da25cf GIT binary patch literal 9204 zcmZWu1yEGc*GE941qA675OxVEK}u=q++bOjmhO;6Lb_WJDG5Pjfu(k-rAtXcX+%Om zS(K8lZ~g!0oB3wGH+Swk=iC$b{myy!zBf1C$UuvRl8usxh=@k}sk#Xf5iy!Tw~&(% zdI_{3p(j2z(lgWeM?8B*4KXLxf)jdLC^V)+hr!r_3Sv$ThNkyDB{w#uhQiW&pAuMV z2!YUMFoqEbN(g~9rv-rtqf}6H8VHO)P@7v22r4j)24qeRgVPyXP=n2>p%%1e;5%lP z1S^6L4d|aALc0wyrvpP7P2mJ{YN$Ca7_cKcBiUEM5(26CzUm zv;8Ok7wez%f9$_-;Q!b{V6-6E|H}XQiEq>Udvu&Rp!1)&<^&0!wUucMB6C1Hxl@@QWawQ2j=@6ttQ^}0hddI}ZkSo=hFD5Ccz6|qEt28h zB_IOqwi!?eGTbB#sTODz(P-?F2T}I7HVC&o_VIEQubd2tlmbjbTJj&3wzule&!cBW)ru zAf1=CZf`9#gKckrtI8yleubZjfhiI373qZ-$;Ii_6~&*+^8@#*a;Yr-MXi#JeQR|d zPx*~rn*G{KwyGp1p|jXdS^9|)%v`!@co5x{{j$IAw&9f96WEVIPv@4L!mFzeC4An= z)CY42&-wn;WQ5Sw<@t#MQx@gr#l^|I;ML{D@#g08GXi(XLAs z|E!7$Ac(eqbYR>SFE3U-)i2I>W=7k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S2I%cbm^=Vg@ zj{Wm&{8q*ajOgAwrWeAOmE5%Nyr*y*XmU9x8;+#v+2Iiz-GkgFzQEu-pZ<@|{h>-v zcj_AvnYjG~qOtUZZ*%g^m5^jt5#(qM`PHjUmYWX@7&`msk2@XP57~4PzF<;AAxP4j zI;Qh8N5l4khv+KuW&Tgge!r`-xUfAq+*v(epk_-C4b~Q4osZi}Shk7xi3V;nw!QEx z@y@~>5da#xVxpB;devn5Sm!;2{^T1l!Wm5Jm3ZHD+e2!eY7K?k0uo=Xk{#y=@2Fh< zMu^B4bZs)-SbXNzFL>}|6S|*UMSii*aZ9xMQ=m!RaB&}Ke~2*m2GecLMe>x$F6D`! z?gS!(2Bx;gc_&hzO_+@a(dJx2yXl*^=tZD+Vl)L0Z~J2f3tNqspVCIE^lEZg21+e% r{GWsRE6lB1#Q*q+i|Sh~|Dh1XxsNr~4ADU+|K!>l2I@7c))D^$xtYI^ literal 0 HcmV?d00001 diff --git a/ViteMaDose/Views/Home/Footer/HomePartnersFooterView.swift b/ViteMaDose/Views/Home/Footer/HomePartnersFooterView.swift index d7532028..ef60d2e0 100644 --- a/ViteMaDose/Views/Home/Footer/HomePartnersFooterView.swift +++ b/ViteMaDose/Views/Home/Footer/HomePartnersFooterView.swift @@ -18,7 +18,8 @@ final class HomePartnersFooterView: UIView { @IBOutlet private var logo6ImageView: UIImageView! @IBOutlet private var logo7ImageView: UIImageView! @IBOutlet private var logo8ImageView: UIImageView! - + @IBOutlet private var logo9ImageView: UIImageView! + private lazy var allLogos: [UIImageView] = [ logo1ImageView, logo2ImageView, @@ -27,7 +28,8 @@ final class HomePartnersFooterView: UIView { logoImageView5, logo6ImageView, logo7ImageView, - logo8ImageView + logo8ImageView, + logo9ImageView ] override func awakeFromNib() { diff --git a/ViteMaDose/Views/Home/Footer/HomePartnersFooterView.xib b/ViteMaDose/Views/Home/Footer/HomePartnersFooterView.xib index d687568f..6b2e7a9e 100644 --- a/ViteMaDose/Views/Home/Footer/HomePartnersFooterView.xib +++ b/ViteMaDose/Views/Home/Footer/HomePartnersFooterView.xib @@ -1,9 +1,9 @@ - + - + @@ -11,11 +11,11 @@ - + - + - + @@ -94,7 +94,7 @@ - + @@ -105,6 +105,20 @@ + + + + + + + + + + + + + + @@ -123,20 +137,22 @@ + - + - + +