From dd20be6758ffff4924260548b1d74341d92ed45c Mon Sep 17 00:00:00 2001 From: yongbeomkwak Date: Sat, 26 Oct 2024 16:23:28 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20::=20=EC=BD=94=EB=93=9C=20Format?= =?UTF-8?q?ting=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sources/ViewControllers/IntroViewController.swift | 2 +- .../RootFeature/Sources/ViewModels/SplashLogoType.swift | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Projects/Features/RootFeature/Sources/ViewControllers/IntroViewController.swift b/Projects/Features/RootFeature/Sources/ViewControllers/IntroViewController.swift index 14f2be2eb..04f597ddf 100644 --- a/Projects/Features/RootFeature/Sources/ViewControllers/IntroViewController.swift +++ b/Projects/Features/RootFeature/Sources/ViewControllers/IntroViewController.swift @@ -237,7 +237,7 @@ private extension IntroViewController { } else { logoType = .usual } - + changeAppIcon(logoType) self.view.backgroundColor = logoType == .halloween ? colorFromRGB(0x191A1C) : .white diff --git a/Projects/Features/RootFeature/Sources/ViewModels/SplashLogoType.swift b/Projects/Features/RootFeature/Sources/ViewModels/SplashLogoType.swift index ad080891f..a8080d358 100644 --- a/Projects/Features/RootFeature/Sources/ViewModels/SplashLogoType.swift +++ b/Projects/Features/RootFeature/Sources/ViewModels/SplashLogoType.swift @@ -4,7 +4,7 @@ enum SplashLogoType: String { case usual = "Splash_Logo_Main" case halloween = "Splash_Logo_Halloween" case xmas = "Splash_Logo_Xmas" - + var icon: String? { switch self { case .usual: @@ -21,6 +21,6 @@ func changeAppIcon(_ type: SplashLogoType) { guard UIApplication.shared.alternateIconName != type.icon else { return } - + UIApplication.shared.setAlternateIconName(type.icon) }