ソースを参照

update app icon selector for Xcode 16

Mike Plante 1 年間 前
コミット
16b070bc49
1 ファイル変更1 行追加1 行削除
  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)