[CHANGE] Replace system image name strings with SFSymbols

This commit is contained in:
Fabian Thies
2022-12-23 15:21:16 +01:00
committed by Joe Mattiello
parent bcd54067d3
commit 5697c4c063
13 changed files with 95 additions and 52 deletions

View File

@@ -7,6 +7,7 @@
//
import SwiftUI
import SFSafeSymbols
import MobileCoreServices
import AltStoreCore
@@ -119,7 +120,7 @@ struct MyAppsView: View {
SwiftUI.Button {
self.isShowingFilePicker = true
} label: {
Image(systemName: "plus")
Image(systemSymbol: .plus)
.imageScale(.large)
}
.sheet(isPresented: self.$isShowingFilePicker) {
@@ -157,7 +158,7 @@ struct MyAppsView: View {
SwiftUI.Button {
self.perform(action: action, for: app)
} label: {
Label(action.title, systemImage: action.imageName)
Label(action.title, systemSymbol: action.symbol)
}
}
}))