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> <dict>
<key>CFBundleAlternateIcons</key> <key>CFBundleAlternateIcons</key>
<dict> <dict>
<key>AppIconLight</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>AppIconLight</string>
</array>
<key>UIPrerenderedIcon</key>
<false/>
</dict>
<key>AppIconBrutalist</key> <key>AppIconBrutalist</key>
<dict> <dict>
<key>CFBundleIconFiles</key> <key>CFBundleIconFiles</key>
@ -61,6 +70,15 @@
<dict> <dict>
<key>CFBundleAlternateIcons</key> <key>CFBundleAlternateIcons</key>
<dict> <dict>
<key>AppIconLight</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>AppIconLight</string>
</array>
<key>UIPrerenderedIcon</key>
<false/>
</dict>
<key>AppIconBrutalist</key> <key>AppIconBrutalist</key>
<dict> <dict>
<key>CFBundleIconFiles</key> <key>CFBundleIconFiles</key>

View file

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