Skip to content

Commit

Permalink
๐ŸŽจ :: ์ฝ”๋“œ Formatting ์ ์šฉ
Browse files Browse the repository at this point in the history
  • Loading branch information
yongbeomkwak committed Oct 26, 2024
1 parent 8ec8fa4 commit dd20be6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ private extension IntroViewController {
} else {
logoType = .usual
}

changeAppIcon(logoType)
self.view.backgroundColor = logoType == .halloween ? colorFromRGB(0x191A1C) : .white

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -21,6 +21,6 @@ func changeAppIcon(_ type: SplashLogoType) {
guard UIApplication.shared.alternateIconName != type.icon else {
return
}

UIApplication.shared.setAlternateIconName(type.icon)
}

0 comments on commit dd20be6

Please sign in to comment.