浏览代码

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)