From b668503c0fd9df837b37f57a06df4fc6ac839a95 Mon Sep 17 00:00:00 2001 From: David Martinez <47610359+dvdmrtnz@users.noreply.github.com> Date: Sat, 27 Jul 2024 11:03:15 +0200 Subject: [PATCH] [ios][placepage] Remove duplicated icons Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com> --- .../Contents.json | 2 +- .../ic_placepage_address.png | Bin 261 -> 254 bytes .../ic_placepage_address@2x.png | Bin 469 -> 435 bytes .../ic_placepage_address@3x.png | Bin 674 -> 598 bytes .../Contents.json | 26 ------------------ .../ic_placepage_adress.png | Bin 254 -> 0 bytes .../ic_placepage_adress@2x.png | Bin 435 -> 0 bytes .../ic_placepage_adress@3x.png | Bin 598 -> 0 bytes .../Contents.json | 26 ------------------ .../ic_placepage_cuisine.png | Bin 177 -> 0 bytes .../ic_placepage_cuisine@2x.png | Bin 288 -> 0 bytes .../ic_placepage_cuisine@3x.png | Bin 404 -> 0 bytes .../Maps/UI/Editor/MWMEditorViewController.mm | 2 +- .../PlacePageInfoViewController.swift | 2 +- 14 files changed, 3 insertions(+), 55 deletions(-) delete mode 100644 iphone/Maps/Images.xcassets/Place Page/ic_placepage_adress.imageset/Contents.json delete mode 100644 iphone/Maps/Images.xcassets/Place Page/ic_placepage_adress.imageset/ic_placepage_adress.png delete mode 100644 iphone/Maps/Images.xcassets/Place Page/ic_placepage_adress.imageset/ic_placepage_adress@2x.png delete mode 100644 iphone/Maps/Images.xcassets/Place Page/ic_placepage_adress.imageset/ic_placepage_adress@3x.png delete mode 100644 iphone/Maps/Images.xcassets/Place Page/ic_placepage_cuisine-1.imageset/Contents.json delete mode 100644 iphone/Maps/Images.xcassets/Place Page/ic_placepage_cuisine-1.imageset/ic_placepage_cuisine.png delete mode 100644 iphone/Maps/Images.xcassets/Place Page/ic_placepage_cuisine-1.imageset/ic_placepage_cuisine@2x.png delete mode 100644 iphone/Maps/Images.xcassets/Place Page/ic_placepage_cuisine-1.imageset/ic_placepage_cuisine@3x.png diff --git a/iphone/Maps/Images.xcassets/Place Page/ic_placepage_address.imageset/Contents.json b/iphone/Maps/Images.xcassets/Place Page/ic_placepage_address.imageset/Contents.json index 63af67d00e..2833ad2489 100644 --- a/iphone/Maps/Images.xcassets/Place Page/ic_placepage_address.imageset/Contents.json +++ b/iphone/Maps/Images.xcassets/Place Page/ic_placepage_address.imageset/Contents.json @@ -23,4 +23,4 @@ "properties" : { "template-rendering-intent" : "template" } -} \ No newline at end of file +} diff --git a/iphone/Maps/Images.xcassets/Place Page/ic_placepage_address.imageset/ic_placepage_address.png b/iphone/Maps/Images.xcassets/Place Page/ic_placepage_address.imageset/ic_placepage_address.png index f03677e02565623eaa09afae641ecf75793f6f88..bfb214a6bb85b76df39aeebe3a71a97ba5129332 100644 GIT binary patch literal 254 zcmVozhaG)z!66T zQq~lMVVYd?)-_Fr^T%3zrIj;E6HC+o?HbFq^D8NyR2BlSGUk~l<5iG_BVNtx4)eS^ zl7$0z@IV&YZq&9cBzO{8SfGcc$AWA$ur%ahk}hBAGASP=uK4JRlJZgJqq1T!NQbvN z3@Q#wobc>~CB9U_w90EukUTER<^$*8l(j07*qoM6N<$ Ef^pAkD*ylh literal 261 zcmV+g0s8)lP)BSu1P#b<=)omU5n3=Zi30p23b+OcHZex3Mwyv>9I%cI7;wbe%f|() zrzd(?7x^$)4L#AoGV-y*np2}jjTL0CsVj~a2A83wa*T0}^&M;8)~bRgXI{=URSiR4MyigKRR8e+21MXBkN;`&00000 LNkvXXu0mjfGWlw6 diff --git a/iphone/Maps/Images.xcassets/Place Page/ic_placepage_address.imageset/ic_placepage_address@2x.png b/iphone/Maps/Images.xcassets/Place Page/ic_placepage_address.imageset/ic_placepage_address@2x.png index 52957ec0ec6b806b8b85e74bfa29d545ecaa1c3e..fa5bfba6289a0a430a0cf029a3304288ec621df0 100644 GIT binary patch literal 435 zcmV;k0ZjghP)JDt*CC}7psoVI-KZ*)7VzMZOrw?&c+)XwPG*g$skT`e6^p>IfKoaZcXlSxjnQN6%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)w|%EH=$59NMw1U16|+Z5s-X9$e^AFjTOM3%gV( z2s&`3LqRZwD^m)BLtHtOIhyh7g3pXH$`>y1t68QP!JjnGbc;A?{27rc=I~=$1(?Q< zIhkS;Zy9P;fLbzm+mtCz@Yb&)=*QcMOp(J|LPe0kTTZ69##>B95X0NGOmU94xQZZ- zw{w|d4{s?IK?-ksGQ~RHwu!0$QMU26E>kSx$CwH*h98SE#Ss2XQ=?ndFpWP$GDRzX z9WhQHeT;L2U#&7llwY{=lc>zGgeyx5f=*oNR1ieS;6jFof?*gJh7}Z59AMi4RSJ%7 zZ0lAytYOod!lIEJw&ZA3c)Y=u0og$s8c^{}AlEX#fBK07*qo IM6N<$f_|zh0{{R3 diff --git a/iphone/Maps/Images.xcassets/Place Page/ic_placepage_adress.imageset/Contents.json b/iphone/Maps/Images.xcassets/Place Page/ic_placepage_adress.imageset/Contents.json deleted file mode 100644 index 650aa186ac..0000000000 --- a/iphone/Maps/Images.xcassets/Place Page/ic_placepage_adress.imageset/Contents.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "filename" : "ic_placepage_adress.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "ic_placepage_adress@2x.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "filename" : "ic_placepage_adress@3x.png", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - }, - "properties" : { - "template-rendering-intent" : "template" - } -} \ No newline at end of file diff --git a/iphone/Maps/Images.xcassets/Place Page/ic_placepage_adress.imageset/ic_placepage_adress.png b/iphone/Maps/Images.xcassets/Place Page/ic_placepage_adress.imageset/ic_placepage_adress.png deleted file mode 100644 index bfb214a6bb85b76df39aeebe3a71a97ba5129332..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 254 zcmVozhaG)z!66T zQq~lMVVYd?)-_Fr^T%3zrIj;E6HC+o?HbFq^D8NyR2BlSGUk~l<5iG_BVNtx4)eS^ zl7$0z@IV&YZq&9cBzO{8SfGcc$AWA$ur%ahk}hBAGASP=uK4JRlJZgJqq1T!NQbvN z3@Q#wobc>~CB9U_w90EukUTER<^$*8l(j07*qoM6N<$ Ef^pAkD*ylh diff --git a/iphone/Maps/Images.xcassets/Place Page/ic_placepage_adress.imageset/ic_placepage_adress@2x.png b/iphone/Maps/Images.xcassets/Place Page/ic_placepage_adress.imageset/ic_placepage_adress@2x.png deleted file mode 100644 index fa5bfba6289a0a430a0cf029a3304288ec621df0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 435 zcmV;k0ZjghP)JDt*CC}7psoVI-KZ*)7VzMZOrw?&c+)XwPG*g$skT`e6^p>IfKoaZcXlSxjnQN6%Erg%!0r%bU=-NYuY^MWETxXz~T?d>5|JnYIo zIY^VLnjDPpu8BpHeX+ZHh}FZuU2+|d>;B_>fyWEyu`-3%l&>mJ@p|g04=0E?AuA@y z(WJPJLUN3voh^eskYMU9A>tk}jAyq>U4c8udSE)No3hs8UNDTWJJTu>D2xJOm@Sf@A=o>9d!5_JdXsG_d!VTLj@>Lzy5p-6|F>Ml-F zy0006VNklI!X0%zacJ;^wRg5f?if(*Vnd_tDw033&*H3&cBRP(6S8PuEpbc85geB zi6|R$Pfgbw}JuHyyx~cG%WM%sc$|QSZ zD)f;o`p34Ftj|=KCfR!X3)Yit+Ef^Kz0h$};gjpD|70pWbNw?tGZk*Qj;9-@!dcgW zf7Vpk;hNCxrotxX@iNaQ)8Rf|?wb-v@p4psP&^&&Nn@`y z9u@x<={u!wk-k%c7Ww0Xe~VO|dggokOp>?e kMh7Q3NrweN5Cl!-JMOZ$wvBk!ApigX07*qoM6N<$f{pwXKmY&$ diff --git a/iphone/Maps/Images.xcassets/Place Page/ic_placepage_cuisine-1.imageset/Contents.json b/iphone/Maps/Images.xcassets/Place Page/ic_placepage_cuisine-1.imageset/Contents.json deleted file mode 100644 index 909c08e9ca..0000000000 --- a/iphone/Maps/Images.xcassets/Place Page/ic_placepage_cuisine-1.imageset/Contents.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "filename" : "ic_placepage_cuisine.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "ic_placepage_cuisine@2x.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "filename" : "ic_placepage_cuisine@3x.png", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - }, - "properties" : { - "template-rendering-intent" : "template" - } -} \ No newline at end of file diff --git a/iphone/Maps/Images.xcassets/Place Page/ic_placepage_cuisine-1.imageset/ic_placepage_cuisine.png b/iphone/Maps/Images.xcassets/Place Page/ic_placepage_cuisine-1.imageset/ic_placepage_cuisine.png deleted file mode 100644 index baeac04e6dddd3c01e13635aa3309dfb4fbb3e9f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 177 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM0wlfaz7_+i3Qrfu5DUS(2hVc07>KxCel=?uHu%qCe3Z{ a0rB_#8;@o$zPKIe1_n=8KbLh*2~7ZjheBuo diff --git a/iphone/Maps/Images.xcassets/Place Page/ic_placepage_cuisine-1.imageset/ic_placepage_cuisine@2x.png b/iphone/Maps/Images.xcassets/Place Page/ic_placepage_cuisine-1.imageset/ic_placepage_cuisine@2x.png deleted file mode 100644 index 732c502a92e115ccd6baec5149e17964b186be72..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 288 zcmV+*0pI?KP)YnHe-XGu$Ny-~_R;TwrJDAtH;x&_i$t6e=!*U(eSVL@AU2yQZ`6NkI^7 zz@5=uK2S0$VQSk_n!v9=?l z=UqLSwjjbVu*HBO(t9{jvq#NI>xlSbubN0}FdSj@H!=o}7|67Yn4Y70VlBbog3&w@ zEG}3Q&EW%A3eBO#l~%uz;!>(9a$L$aMTJY1rf6`f(G(pnb(+HBlGXpg1D_tE#HUYj m!KaHPZanef$xT5JynF+o51-JmCy{3W0000QAWT@zQe6S&J8$R?LDr_jihKinnp(sX=V@i>xdJF@u6zR%9+0h`P zXb}x%#R3}^%7z}cbd?2bY+36*I@r|FJuI const & cells, UITab { MWMEditorSelectTableViewCell * tCell = static_cast(cell); [tCell configWithDelegate:self - icon:[UIImage imageNamed:@"ic_placepage_adress"] + icon:[UIImage imageNamed:@"ic_placepage_address"] text:@(m_mapObject.GetStreet().m_defaultName.c_str()) placeholder:L(@"add_street")]; break; diff --git a/iphone/Maps/UI/PlacePage/Components/PlacePageInfoViewController.swift b/iphone/Maps/UI/PlacePage/Components/PlacePageInfoViewController.swift index f786354502..a0fdddd9aa 100644 --- a/iphone/Maps/UI/PlacePage/Components/PlacePageInfoViewController.swift +++ b/iphone/Maps/UI/PlacePage/Components/PlacePageInfoViewController.swift @@ -329,7 +329,7 @@ class PlacePageInfoViewController: UIViewController { if let address = placePageInfoData.address { addressView = createInfoItem(address, - icon: UIImage(named: "ic_placepage_adress"), + icon: UIImage(named: "ic_placepage_address"), longPressHandler: { [weak self] in self?.delegate?.didCopy(address) })