Wires up the light icon

Updates the info.plist and app icon view
This commit is contained in:
two-thirty-seven 2022-07-02 16:40:07 +12:00
parent 61ad9ef3d8
commit bb78827847
2 changed files with 21 additions and 0 deletions

View file

@ -10,6 +10,15 @@
<dict>
<key>CFBundleAlternateIcons</key>
<dict>
<key>AppIconLight</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>AppIconLight</string>
</array>
<key>UIPrerenderedIcon</key>
<false/>
</dict>
<key>AppIconBrutalist</key>
<dict>
<key>CFBundleIconFiles</key>
@ -61,6 +70,15 @@
<dict>
<key>CFBundleAlternateIcons</key>
<dict>
<key>AppIconLight</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>AppIconLight</string>
</array>
<key>UIPrerenderedIcon</key>
<false/>
</dict>
<key>AppIconBrutalist</key>
<dict>
<key>CFBundleIconFiles</key>

View file

@ -64,6 +64,7 @@ private extension AppIconPreferencesView {
enum AppIcon: String, CaseIterable {
case classic = "AppIconClassic"
case light = "AppIconLight"
case rainbow = "AppIconRainbow"
case brutalist = "AppIconBrutalist"
case rainbowBrutalist = "AppIconRainbowBrutalist"
@ -77,6 +78,8 @@ extension AppIcon {
switch self {
case .classic:
return "app-icon.classic"
case .light:
return "app-icon.light"
case .rainbow:
return "app-icon.rainbow"
case .brutalist: