mirror of
https://github.com/metabolist/metatext.git
synced 2025-04-24 04:24:11 +00:00
Wires up the light icon
Updates the info.plist and app icon view
This commit is contained in:
parent
61ad9ef3d8
commit
bb78827847
2 changed files with 21 additions and 0 deletions
|
@ -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>
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue