From 498bb365b2457e0b2e2a1bb3a1c5d22d00d28e8a Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Mon, 28 Oct 2019 15:08:00 -0500 Subject: [PATCH] Use equilateral triangle for disclosure. Issue #1191 --- .../Cell/MasterFeedTableViewCell.swift | 2 ++ .../disclosure.imageset/disclosure.pdf | Bin 3981 -> 3971 bytes 2 files changed, 2 insertions(+) diff --git a/iOS/MasterFeed/Cell/MasterFeedTableViewCell.swift b/iOS/MasterFeed/Cell/MasterFeedTableViewCell.swift index ea38faf93..8de9f84c6 100644 --- a/iOS/MasterFeed/Cell/MasterFeedTableViewCell.swift +++ b/iOS/MasterFeed/Cell/MasterFeedTableViewCell.swift @@ -179,6 +179,8 @@ private extension MasterFeedTableViewCell { disclosureButton = NonIntrinsicButton(type: .roundedRect) disclosureButton!.addTarget(self, action: #selector(buttonPressed(_:)), for: UIControl.Event.touchUpInside) disclosureButton?.setImage(AppAssets.disclosureImage, for: .normal) + disclosureButton?.imageView?.contentMode = .center + disclosureButton?.imageView?.clipsToBounds = false addSubviewAtInit(disclosureButton!) } diff --git a/iOS/Resources/Assets.xcassets/disclosure.imageset/disclosure.pdf b/iOS/Resources/Assets.xcassets/disclosure.imageset/disclosure.pdf index 897f6f97e8d2f952ff72b30974f348ce207e8dc9..8e3a2a214d550e562c82ecefc098547b01c0aa48 100644 GIT binary patch delta 584 zcmeB`Zl{2{Y=XFNT(}YWuxLrsw1=Suc0q32HZizKEw-kIZJ(_XaKBU7cCvuqa~E z?KL|mFOAw*TePjpK*Q%G*G+4~g~ICjk1N)Rnf!{(W_8al{1W4v-J0p27Ar5YO7eG? zZ&3U5c}Lu$9!lOg)@T3VZO+R2Np=5Dan1k0cfa=e2iEoZ=51fuShfht*=1R>=DK05WP0R(c@{_W-Oce|i zK(vwB=0?UD+>92JrFi$USr}THn43<%%PR|IPU5rDG&WQ)00D(O1uihdz`)qT1YOM7 z*kE!ppL(hp&}1~#CT5tbjj*UQH8w)mYiwkKVV<$E#pL&V_VH%P25E+-7AD39mPTgg zNy$lOX-UaODXEr8=BXxzrY3e=HUyO@#46a?aTS*&7L`;KrKWKin_8N1sj9mAyKw;k Da0AT- delta 555 zcmZpc@0FhrP@g(6Fzbi`kIVmJuGj^uQoJ{Pxhwo8oL@jA`i8E~PWzHMmr}g{pGj6Z z+aq7HkX_T9U)J-G*_D{CcMXYAhvzRS+UdX{a@W^=`LVmQ#@z+q0uOANB*nivfXlC& zW%op@>M4@EGM8Ujd2Tz!D5R_UTETnMx2(m_*2RYw?TC1@YQAs%(M5q1pYKh|_B~`! zE^(O2_~R_O9X?!^2M_JK#d9OIzd<9fX>v59G^6?E za>g0ljAoMsc=u|W8d{nfo0voy7^nl0rh>k2eu_(CNveW|iAy0t|%rG!EHk=&Er_N|TxsgxU)*Msb$lMfNkAbO)5xSVMk?G`% ze8P;Dlb`b0$EO%4nhX=0XaY>-cP>DjUf}I^# ZaYn7XYl6&+7mH