add 5 base app icons

This commit is contained in:
Trey t
2022-03-05 12:49:32 -06:00
parent 34e795e5de
commit 2223e9f5ec
217 changed files with 538 additions and 906 deletions

View File

@@ -28,8 +28,11 @@ struct CustomizeView: View {
@StateObject private var selectedWidget = StupidAssCustomWidgetObservableObject()
let iconSets: [(String,String)] = [
("PurpleFeelsAppIcon", "PurpleAppIcon"),
("RedFeelsAppIcon", "RedAppIcon")
("AppIconImage", "AppIcon"),
("AppIconGoodImage", "AppIconGood"),
("AppIconAverageImage", "AppIconAverage"),
("AppIconBadImage", "AppIconBad"),
("AppIconHorribleImage", "AppIconHorrible")
]
var body: some View {
@@ -61,15 +64,6 @@ struct CustomizeView: View {
VStack {
ScrollView(.horizontal) {
HStack {
Button(action: {
UIApplication.shared.setAlternateIconName(nil)
}, label: {
Image("FeelsAppIcon", bundle: .main)
.resizable()
.frame(width: 50, height:50)
.cornerRadius(10)
})
ForEach(iconSets, id: \.self.0){ iconSet in
Button(action: {
UIApplication.shared.setAlternateIconName(iconSet.1) { (error) in