Parcourir la source

update app icon selector for Xcode 16

Mike Plante il y a 1 an
Parent
commit
16b070bc49
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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)