Bläddra i källkod

update app icon selector for Xcode 16

Mike Plante 1 år sedan
förälder
incheckning
16b070bc49
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      FreeAPS/Sources/Modules/IconConfig/View/IconImage.swift

+ 1 - 1
FreeAPS/Sources/Modules/IconConfig/View/IconImage.swift

@@ -8,7 +8,7 @@ struct IconImage: View {
         Label {
             Text(icon.rawValue)
         } icon: {
-            Image(uiImage: UIImage(named: icon.rawValue) ?? UIImage())
+            Image(icon.rawValue)
                 .resizable()
                 .aspectRatio(contentMode: .fit)
                 .frame(minHeight: 57, maxHeight: 1024)