diff --git a/Telegram/BUILD b/Telegram/BUILD index b631d43350..bcc1987dc2 100644 --- a/Telegram/BUILD +++ b/Telegram/BUILD @@ -268,6 +268,27 @@ filegroup( ]), ) +alternate_icon_folders = [ + "BlackIcon", + "BlackClassicIcon", + "BlackFilledIcon", + "BlueIcon", + "BlueClassicIcon", + "BlueFilledIcon", + "WhiteFilledIcon", + "New1", + "New2", +] + +[ + filegroup( + name = "{}".format(name), + srcs = glob([ + "Telegram-iOS/{}.alticon/*.png".format(name), + ]), + ) for name in alternate_icon_folders +] + filegroup( name = "LaunchScreen", srcs = glob([ @@ -1855,11 +1876,14 @@ ios_application( ":VersionInfoPlist", ":UrlTypesInfoPlist", ], - ipa_post_processor = ":AddAlternateIcons", + alternate_icons = [ + ":{}".format(name) for name in alternate_icon_folders + ], + #ipa_post_processor = ":AddAlternateIcons", resources = [ ":LaunchScreen", ":DefaultAppIcon", - ":AdditionalIcons", + #":AdditionalIcons", ], frameworks = [ ":MtProtoKitFramework", diff --git a/Telegram/Telegram-iOS/BlackClassicIcon@2x.png b/Telegram/Telegram-iOS/BlackClassicIcon.alticon/BlackClassicIcon@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlackClassicIcon@2x.png rename to Telegram/Telegram-iOS/BlackClassicIcon.alticon/BlackClassicIcon@2x.png diff --git a/Telegram/Telegram-iOS/BlackClassicIcon@3x.png b/Telegram/Telegram-iOS/BlackClassicIcon.alticon/BlackClassicIcon@3x.png similarity index 100% rename from Telegram/Telegram-iOS/BlackClassicIcon@3x.png rename to Telegram/Telegram-iOS/BlackClassicIcon.alticon/BlackClassicIcon@3x.png diff --git a/Telegram/Telegram-iOS/BlackClassicIconIpad.png b/Telegram/Telegram-iOS/BlackClassicIcon.alticon/BlackClassicIconIpad.png similarity index 100% rename from Telegram/Telegram-iOS/BlackClassicIconIpad.png rename to Telegram/Telegram-iOS/BlackClassicIcon.alticon/BlackClassicIconIpad.png diff --git a/Telegram/Telegram-iOS/BlackClassicIconIpad@2x.png b/Telegram/Telegram-iOS/BlackClassicIcon.alticon/BlackClassicIconIpad@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlackClassicIconIpad@2x.png rename to Telegram/Telegram-iOS/BlackClassicIcon.alticon/BlackClassicIconIpad@2x.png diff --git a/Telegram/Telegram-iOS/BlackClassicIconLargeIpad@2x.png b/Telegram/Telegram-iOS/BlackClassicIcon.alticon/BlackClassicIconLargeIpad@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlackClassicIconLargeIpad@2x.png rename to Telegram/Telegram-iOS/BlackClassicIcon.alticon/BlackClassicIconLargeIpad@2x.png diff --git a/Telegram/Telegram-iOS/BlackClassicNotificationIcon.png b/Telegram/Telegram-iOS/BlackClassicIcon.alticon/BlackClassicNotificationIcon.png similarity index 100% rename from Telegram/Telegram-iOS/BlackClassicNotificationIcon.png rename to Telegram/Telegram-iOS/BlackClassicIcon.alticon/BlackClassicNotificationIcon.png diff --git a/Telegram/Telegram-iOS/BlackClassicNotificationIcon@2x.png b/Telegram/Telegram-iOS/BlackClassicIcon.alticon/BlackClassicNotificationIcon@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlackClassicNotificationIcon@2x.png rename to Telegram/Telegram-iOS/BlackClassicIcon.alticon/BlackClassicNotificationIcon@2x.png diff --git a/Telegram/Telegram-iOS/BlackClassicNotificationIcon@3x.png b/Telegram/Telegram-iOS/BlackClassicIcon.alticon/BlackClassicNotificationIcon@3x.png similarity index 100% rename from Telegram/Telegram-iOS/BlackClassicNotificationIcon@3x.png rename to Telegram/Telegram-iOS/BlackClassicIcon.alticon/BlackClassicNotificationIcon@3x.png diff --git a/Telegram/Telegram-iOS/BlackFilledIcon@2x.png b/Telegram/Telegram-iOS/BlackFilledIcon.alticon/BlackFilledIcon@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlackFilledIcon@2x.png rename to Telegram/Telegram-iOS/BlackFilledIcon.alticon/BlackFilledIcon@2x.png diff --git a/Telegram/Telegram-iOS/BlackFilledIcon@3x.png b/Telegram/Telegram-iOS/BlackFilledIcon.alticon/BlackFilledIcon@3x.png similarity index 100% rename from Telegram/Telegram-iOS/BlackFilledIcon@3x.png rename to Telegram/Telegram-iOS/BlackFilledIcon.alticon/BlackFilledIcon@3x.png diff --git a/Telegram/Telegram-iOS/BlackFilledIconIpad.png b/Telegram/Telegram-iOS/BlackFilledIcon.alticon/BlackFilledIconIpad.png similarity index 100% rename from Telegram/Telegram-iOS/BlackFilledIconIpad.png rename to Telegram/Telegram-iOS/BlackFilledIcon.alticon/BlackFilledIconIpad.png diff --git a/Telegram/Telegram-iOS/BlackFilledIconIpad@2x.png b/Telegram/Telegram-iOS/BlackFilledIcon.alticon/BlackFilledIconIpad@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlackFilledIconIpad@2x.png rename to Telegram/Telegram-iOS/BlackFilledIcon.alticon/BlackFilledIconIpad@2x.png diff --git a/Telegram/Telegram-iOS/BlackFilledIconLargeIpad@2x.png b/Telegram/Telegram-iOS/BlackFilledIcon.alticon/BlackFilledIconLargeIpad@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlackFilledIconLargeIpad@2x.png rename to Telegram/Telegram-iOS/BlackFilledIcon.alticon/BlackFilledIconLargeIpad@2x.png diff --git a/Telegram/Telegram-iOS/BlackIcon@2x.png b/Telegram/Telegram-iOS/BlackIcon.alticon/BlackIcon@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlackIcon@2x.png rename to Telegram/Telegram-iOS/BlackIcon.alticon/BlackIcon@2x.png diff --git a/Telegram/Telegram-iOS/BlackIcon@3x.png b/Telegram/Telegram-iOS/BlackIcon.alticon/BlackIcon@3x.png similarity index 100% rename from Telegram/Telegram-iOS/BlackIcon@3x.png rename to Telegram/Telegram-iOS/BlackIcon.alticon/BlackIcon@3x.png diff --git a/Telegram/Telegram-iOS/BlackIconIpad.png b/Telegram/Telegram-iOS/BlackIcon.alticon/BlackIconIpad.png similarity index 100% rename from Telegram/Telegram-iOS/BlackIconIpad.png rename to Telegram/Telegram-iOS/BlackIcon.alticon/BlackIconIpad.png diff --git a/Telegram/Telegram-iOS/BlackIconIpad@2x.png b/Telegram/Telegram-iOS/BlackIcon.alticon/BlackIconIpad@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlackIconIpad@2x.png rename to Telegram/Telegram-iOS/BlackIcon.alticon/BlackIconIpad@2x.png diff --git a/Telegram/Telegram-iOS/BlackIconLargeIpad@2x.png b/Telegram/Telegram-iOS/BlackIcon.alticon/BlackIconLargeIpad@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlackIconLargeIpad@2x.png rename to Telegram/Telegram-iOS/BlackIcon.alticon/BlackIconLargeIpad@2x.png diff --git a/Telegram/Telegram-iOS/BlackNotificationIcon.png b/Telegram/Telegram-iOS/BlackIcon.alticon/BlackNotificationIcon.png similarity index 100% rename from Telegram/Telegram-iOS/BlackNotificationIcon.png rename to Telegram/Telegram-iOS/BlackIcon.alticon/BlackNotificationIcon.png diff --git a/Telegram/Telegram-iOS/BlackNotificationIcon@2x.png b/Telegram/Telegram-iOS/BlackIcon.alticon/BlackNotificationIcon@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlackNotificationIcon@2x.png rename to Telegram/Telegram-iOS/BlackIcon.alticon/BlackNotificationIcon@2x.png diff --git a/Telegram/Telegram-iOS/BlackNotificationIcon@3x.png b/Telegram/Telegram-iOS/BlackIcon.alticon/BlackNotificationIcon@3x.png similarity index 100% rename from Telegram/Telegram-iOS/BlackNotificationIcon@3x.png rename to Telegram/Telegram-iOS/BlackIcon.alticon/BlackNotificationIcon@3x.png diff --git a/Telegram/Telegram-iOS/BlueClassicIcon@2x.png b/Telegram/Telegram-iOS/BlueClassicIcon.alticon/BlueClassicIcon@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlueClassicIcon@2x.png rename to Telegram/Telegram-iOS/BlueClassicIcon.alticon/BlueClassicIcon@2x.png diff --git a/Telegram/Telegram-iOS/BlueClassicIcon@3x.png b/Telegram/Telegram-iOS/BlueClassicIcon.alticon/BlueClassicIcon@3x.png similarity index 100% rename from Telegram/Telegram-iOS/BlueClassicIcon@3x.png rename to Telegram/Telegram-iOS/BlueClassicIcon.alticon/BlueClassicIcon@3x.png diff --git a/Telegram/Telegram-iOS/BlueClassicIconIpad.png b/Telegram/Telegram-iOS/BlueClassicIcon.alticon/BlueClassicIconIpad.png similarity index 100% rename from Telegram/Telegram-iOS/BlueClassicIconIpad.png rename to Telegram/Telegram-iOS/BlueClassicIcon.alticon/BlueClassicIconIpad.png diff --git a/Telegram/Telegram-iOS/BlueClassicIconIpad@2x.png b/Telegram/Telegram-iOS/BlueClassicIcon.alticon/BlueClassicIconIpad@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlueClassicIconIpad@2x.png rename to Telegram/Telegram-iOS/BlueClassicIcon.alticon/BlueClassicIconIpad@2x.png diff --git a/Telegram/Telegram-iOS/BlueClassicIconLargeIpad@2x.png b/Telegram/Telegram-iOS/BlueClassicIcon.alticon/BlueClassicIconLargeIpad@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlueClassicIconLargeIpad@2x.png rename to Telegram/Telegram-iOS/BlueClassicIcon.alticon/BlueClassicIconLargeIpad@2x.png diff --git a/Telegram/Telegram-iOS/BlueClassicNotificationIcon.png b/Telegram/Telegram-iOS/BlueClassicIcon.alticon/BlueClassicNotificationIcon.png similarity index 100% rename from Telegram/Telegram-iOS/BlueClassicNotificationIcon.png rename to Telegram/Telegram-iOS/BlueClassicIcon.alticon/BlueClassicNotificationIcon.png diff --git a/Telegram/Telegram-iOS/BlueClassicNotificationIcon@2x.png b/Telegram/Telegram-iOS/BlueClassicIcon.alticon/BlueClassicNotificationIcon@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlueClassicNotificationIcon@2x.png rename to Telegram/Telegram-iOS/BlueClassicIcon.alticon/BlueClassicNotificationIcon@2x.png diff --git a/Telegram/Telegram-iOS/BlueClassicNotificationIcon@3x.png b/Telegram/Telegram-iOS/BlueClassicIcon.alticon/BlueClassicNotificationIcon@3x.png similarity index 100% rename from Telegram/Telegram-iOS/BlueClassicNotificationIcon@3x.png rename to Telegram/Telegram-iOS/BlueClassicIcon.alticon/BlueClassicNotificationIcon@3x.png diff --git a/Telegram/Telegram-iOS/BlueFilledIcon@2x.png b/Telegram/Telegram-iOS/BlueFilledIcon.alticon/BlueFilledIcon@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlueFilledIcon@2x.png rename to Telegram/Telegram-iOS/BlueFilledIcon.alticon/BlueFilledIcon@2x.png diff --git a/Telegram/Telegram-iOS/BlueFilledIcon@3x.png b/Telegram/Telegram-iOS/BlueFilledIcon.alticon/BlueFilledIcon@3x.png similarity index 100% rename from Telegram/Telegram-iOS/BlueFilledIcon@3x.png rename to Telegram/Telegram-iOS/BlueFilledIcon.alticon/BlueFilledIcon@3x.png diff --git a/Telegram/Telegram-iOS/BlueFilledIconIpad.png b/Telegram/Telegram-iOS/BlueFilledIcon.alticon/BlueFilledIconIpad.png similarity index 100% rename from Telegram/Telegram-iOS/BlueFilledIconIpad.png rename to Telegram/Telegram-iOS/BlueFilledIcon.alticon/BlueFilledIconIpad.png diff --git a/Telegram/Telegram-iOS/BlueFilledIconIpad@2x.png b/Telegram/Telegram-iOS/BlueFilledIcon.alticon/BlueFilledIconIpad@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlueFilledIconIpad@2x.png rename to Telegram/Telegram-iOS/BlueFilledIcon.alticon/BlueFilledIconIpad@2x.png diff --git a/Telegram/Telegram-iOS/BlueFilledIconLargeIpad@2x.png b/Telegram/Telegram-iOS/BlueFilledIcon.alticon/BlueFilledIconLargeIpad@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlueFilledIconLargeIpad@2x.png rename to Telegram/Telegram-iOS/BlueFilledIcon.alticon/BlueFilledIconLargeIpad@2x.png diff --git a/Telegram/Telegram-iOS/BlueIcon@2x.png b/Telegram/Telegram-iOS/BlueIcon.alticon/BlueIcon@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlueIcon@2x.png rename to Telegram/Telegram-iOS/BlueIcon.alticon/BlueIcon@2x.png diff --git a/Telegram/Telegram-iOS/BlueIcon@3x.png b/Telegram/Telegram-iOS/BlueIcon.alticon/BlueIcon@3x.png similarity index 100% rename from Telegram/Telegram-iOS/BlueIcon@3x.png rename to Telegram/Telegram-iOS/BlueIcon.alticon/BlueIcon@3x.png diff --git a/Telegram/Telegram-iOS/BlueIconIpad.png b/Telegram/Telegram-iOS/BlueIcon.alticon/BlueIconIpad.png similarity index 100% rename from Telegram/Telegram-iOS/BlueIconIpad.png rename to Telegram/Telegram-iOS/BlueIcon.alticon/BlueIconIpad.png diff --git a/Telegram/Telegram-iOS/BlueIconIpad@2x.png b/Telegram/Telegram-iOS/BlueIcon.alticon/BlueIconIpad@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlueIconIpad@2x.png rename to Telegram/Telegram-iOS/BlueIcon.alticon/BlueIconIpad@2x.png diff --git a/Telegram/Telegram-iOS/BlueIconLargeIpad@2x.png b/Telegram/Telegram-iOS/BlueIcon.alticon/BlueIconLargeIpad@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlueIconLargeIpad@2x.png rename to Telegram/Telegram-iOS/BlueIcon.alticon/BlueIconLargeIpad@2x.png diff --git a/Telegram/Telegram-iOS/BlueNotificationIcon.png b/Telegram/Telegram-iOS/BlueIcon.alticon/BlueNotificationIcon.png similarity index 100% rename from Telegram/Telegram-iOS/BlueNotificationIcon.png rename to Telegram/Telegram-iOS/BlueIcon.alticon/BlueNotificationIcon.png diff --git a/Telegram/Telegram-iOS/BlueNotificationIcon@2x.png b/Telegram/Telegram-iOS/BlueIcon.alticon/BlueNotificationIcon@2x.png similarity index 100% rename from Telegram/Telegram-iOS/BlueNotificationIcon@2x.png rename to Telegram/Telegram-iOS/BlueIcon.alticon/BlueNotificationIcon@2x.png diff --git a/Telegram/Telegram-iOS/BlueNotificationIcon@3x.png b/Telegram/Telegram-iOS/BlueIcon.alticon/BlueNotificationIcon@3x.png similarity index 100% rename from Telegram/Telegram-iOS/BlueNotificationIcon@3x.png rename to Telegram/Telegram-iOS/BlueIcon.alticon/BlueNotificationIcon@3x.png diff --git a/Telegram/Telegram-iOS/New1_120x120.png b/Telegram/Telegram-iOS/New1.alticon/New1@2x.png similarity index 100% rename from Telegram/Telegram-iOS/New1_120x120.png rename to Telegram/Telegram-iOS/New1.alticon/New1@2x.png diff --git a/Telegram/Telegram-iOS/New1_152x152.png b/Telegram/Telegram-iOS/New1.alticon/New1@2x~ipad.png similarity index 100% rename from Telegram/Telegram-iOS/New1_152x152.png rename to Telegram/Telegram-iOS/New1.alticon/New1@2x~ipad.png diff --git a/Telegram/Telegram-iOS/New1_167x167.png b/Telegram/Telegram-iOS/New1.alticon/New1@2x~ipadpro.png similarity index 100% rename from Telegram/Telegram-iOS/New1_167x167.png rename to Telegram/Telegram-iOS/New1.alticon/New1@2x~ipadpro.png diff --git a/Telegram/Telegram-iOS/New1_180x180.png b/Telegram/Telegram-iOS/New1.alticon/New1@3x.png similarity index 100% rename from Telegram/Telegram-iOS/New1_180x180.png rename to Telegram/Telegram-iOS/New1.alticon/New1@3x.png diff --git a/Telegram/Telegram-iOS/New1_29x29.png b/Telegram/Telegram-iOS/New1.alticon/New1_29x29.png similarity index 100% rename from Telegram/Telegram-iOS/New1_29x29.png rename to Telegram/Telegram-iOS/New1.alticon/New1_29x29.png diff --git a/Telegram/Telegram-iOS/New1_58x58.png b/Telegram/Telegram-iOS/New1.alticon/New1_58x58.png similarity index 100% rename from Telegram/Telegram-iOS/New1_58x58.png rename to Telegram/Telegram-iOS/New1.alticon/New1_58x58.png diff --git a/Telegram/Telegram-iOS/New1_80x80.png b/Telegram/Telegram-iOS/New1.alticon/New1_80x80.png similarity index 100% rename from Telegram/Telegram-iOS/New1_80x80.png rename to Telegram/Telegram-iOS/New1.alticon/New1_80x80.png diff --git a/Telegram/Telegram-iOS/New1_87x87.png b/Telegram/Telegram-iOS/New1.alticon/New1_87x87.png similarity index 100% rename from Telegram/Telegram-iOS/New1_87x87.png rename to Telegram/Telegram-iOS/New1.alticon/New1_87x87.png diff --git a/Telegram/Telegram-iOS/New1_20x20.png b/Telegram/Telegram-iOS/New1.alticon/New1_notification.png similarity index 100% rename from Telegram/Telegram-iOS/New1_20x20.png rename to Telegram/Telegram-iOS/New1.alticon/New1_notification.png diff --git a/Telegram/Telegram-iOS/New1_40x40.png b/Telegram/Telegram-iOS/New1.alticon/New1_notification@2x.png similarity index 100% rename from Telegram/Telegram-iOS/New1_40x40.png rename to Telegram/Telegram-iOS/New1.alticon/New1_notification@2x.png diff --git a/Telegram/Telegram-iOS/New1_60x60.png b/Telegram/Telegram-iOS/New1.alticon/New1_notification@3x.png similarity index 100% rename from Telegram/Telegram-iOS/New1_60x60.png rename to Telegram/Telegram-iOS/New1.alticon/New1_notification@3x.png diff --git a/Telegram/Telegram-iOS/New1_76x76.png b/Telegram/Telegram-iOS/New1.alticon/New1~ipad.png similarity index 100% rename from Telegram/Telegram-iOS/New1_76x76.png rename to Telegram/Telegram-iOS/New1.alticon/New1~ipad.png diff --git a/Telegram/Telegram-iOS/New2_120x120.png b/Telegram/Telegram-iOS/New2.alticon/New2@2x.png similarity index 100% rename from Telegram/Telegram-iOS/New2_120x120.png rename to Telegram/Telegram-iOS/New2.alticon/New2@2x.png diff --git a/Telegram/Telegram-iOS/New2_152x152.png b/Telegram/Telegram-iOS/New2.alticon/New2@2x~ipad.png similarity index 100% rename from Telegram/Telegram-iOS/New2_152x152.png rename to Telegram/Telegram-iOS/New2.alticon/New2@2x~ipad.png diff --git a/Telegram/Telegram-iOS/New2_167x167.png b/Telegram/Telegram-iOS/New2.alticon/New2@2x~ipadpro.png similarity index 100% rename from Telegram/Telegram-iOS/New2_167x167.png rename to Telegram/Telegram-iOS/New2.alticon/New2@2x~ipadpro.png diff --git a/Telegram/Telegram-iOS/New2_180x180.png b/Telegram/Telegram-iOS/New2.alticon/New2@3x.png similarity index 100% rename from Telegram/Telegram-iOS/New2_180x180.png rename to Telegram/Telegram-iOS/New2.alticon/New2@3x.png diff --git a/Telegram/Telegram-iOS/New2_29x29.png b/Telegram/Telegram-iOS/New2.alticon/New2_29x29.png similarity index 100% rename from Telegram/Telegram-iOS/New2_29x29.png rename to Telegram/Telegram-iOS/New2.alticon/New2_29x29.png diff --git a/Telegram/Telegram-iOS/New2_58x58.png b/Telegram/Telegram-iOS/New2.alticon/New2_58x58.png similarity index 100% rename from Telegram/Telegram-iOS/New2_58x58.png rename to Telegram/Telegram-iOS/New2.alticon/New2_58x58.png diff --git a/Telegram/Telegram-iOS/New2_80x80.png b/Telegram/Telegram-iOS/New2.alticon/New2_80x80.png similarity index 100% rename from Telegram/Telegram-iOS/New2_80x80.png rename to Telegram/Telegram-iOS/New2.alticon/New2_80x80.png diff --git a/Telegram/Telegram-iOS/New2_87x87.png b/Telegram/Telegram-iOS/New2.alticon/New2_87x87.png similarity index 100% rename from Telegram/Telegram-iOS/New2_87x87.png rename to Telegram/Telegram-iOS/New2.alticon/New2_87x87.png diff --git a/Telegram/Telegram-iOS/New2_20x20.png b/Telegram/Telegram-iOS/New2.alticon/New2_notification.png similarity index 100% rename from Telegram/Telegram-iOS/New2_20x20.png rename to Telegram/Telegram-iOS/New2.alticon/New2_notification.png diff --git a/Telegram/Telegram-iOS/New2_40x40.png b/Telegram/Telegram-iOS/New2.alticon/New2_notification@2x.png similarity index 100% rename from Telegram/Telegram-iOS/New2_40x40.png rename to Telegram/Telegram-iOS/New2.alticon/New2_notification@2x.png diff --git a/Telegram/Telegram-iOS/New2_60x60.png b/Telegram/Telegram-iOS/New2.alticon/New2_notification@3x.png similarity index 100% rename from Telegram/Telegram-iOS/New2_60x60.png rename to Telegram/Telegram-iOS/New2.alticon/New2_notification@3x.png diff --git a/Telegram/Telegram-iOS/New2_76x76.png b/Telegram/Telegram-iOS/New2.alticon/New2~ipad.png similarity index 100% rename from Telegram/Telegram-iOS/New2_76x76.png rename to Telegram/Telegram-iOS/New2.alticon/New2~ipad.png diff --git a/Telegram/Telegram-iOS/WhiteFilledIcon@2x.png b/Telegram/Telegram-iOS/WhiteFilledIcon.alticon/WhiteFilledIcon@2x.png similarity index 100% rename from Telegram/Telegram-iOS/WhiteFilledIcon@2x.png rename to Telegram/Telegram-iOS/WhiteFilledIcon.alticon/WhiteFilledIcon@2x.png diff --git a/Telegram/Telegram-iOS/WhiteFilledIcon@3x.png b/Telegram/Telegram-iOS/WhiteFilledIcon.alticon/WhiteFilledIcon@3x.png similarity index 100% rename from Telegram/Telegram-iOS/WhiteFilledIcon@3x.png rename to Telegram/Telegram-iOS/WhiteFilledIcon.alticon/WhiteFilledIcon@3x.png diff --git a/submodules/TelegramUI/Sources/AppDelegate.swift b/submodules/TelegramUI/Sources/AppDelegate.swift index 722093276f..d256de96e3 100644 --- a/submodules/TelegramUI/Sources/AppDelegate.swift +++ b/submodules/TelegramUI/Sources/AppDelegate.swift @@ -637,14 +637,16 @@ final class SharedApplicationContext { self.window?.rootViewController?.dismiss(animated: true, completion: nil) }, getAvailableAlternateIcons: { if #available(iOS 10.3, *) { - var icons = [PresentationAppIcon(name: "Blue", imageName: "BlueIcon", isDefault: buildConfig.isAppStoreBuild), - PresentationAppIcon(name: "New2", imageName: "New2_180x180"), - PresentationAppIcon(name: "New1", imageName: "New1_180x180"), - PresentationAppIcon(name: "Black", imageName: "BlackIcon"), - PresentationAppIcon(name: "BlueClassic", imageName: "BlueClassicIcon"), - PresentationAppIcon(name: "BlackClassic", imageName: "BlackClassicIcon"), - PresentationAppIcon(name: "BlueFilled", imageName: "BlueFilledIcon"), - PresentationAppIcon(name: "BlackFilled", imageName: "BlackFilledIcon")] + var icons = [ + PresentationAppIcon(name: "Blue", imageName: "BlueIcon", isDefault: buildConfig.isAppStoreBuild), + PresentationAppIcon(name: "New2", imageName: "New2"), + PresentationAppIcon(name: "New1", imageName: "New1"), + PresentationAppIcon(name: "Black", imageName: "BlackIcon"), + PresentationAppIcon(name: "BlueClassic", imageName: "BlueClassicIcon"), + PresentationAppIcon(name: "BlackClassic", imageName: "BlackClassicIcon"), + PresentationAppIcon(name: "BlueFilled", imageName: "BlueFilledIcon"), + PresentationAppIcon(name: "BlackFilled", imageName: "BlackFilledIcon") + ] if buildConfig.isInternalBuild { icons.append(PresentationAppIcon(name: "WhiteFilled", imageName: "WhiteFilledIcon")) }