Просмотр исходного кода

update app icon selector for Xcode 16

Mike Plante 1 год назад
Родитель
Сommit
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)