Skip to content

Commit 590a177

Browse files
committed
Remove L icon. Closes #37
1 parent fc17210 commit 590a177

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

claw/Settings/SettingsView.swift

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -94,19 +94,18 @@ struct AppIconChooserView: View {
9494
}, label: {
9595
AppIconView(icon: AppIcon(alternateIconName: nil, name: "claw", assetName: "[email protected]", subtitle: "Maria Garcia (mariajgarcia.com)")).environmentObject(settings)
9696
})
97-
Button(action: {
98-
UIApplication.shared.setAlternateIconName("Classic", completionHandler: { error in
99-
guard error == nil else {
100-
showAlert = true
101-
return
102-
}
103-
settings.alternateIconName = "Classic"
104-
try? settings.managedObjectContext?.save()
105-
self.presentationMode.wrappedValue.dismiss()
106-
})
107-
}, label: {
108-
AppIconView(icon: AppIcon(alternateIconName: "Classic", name: "Classic", assetName: "[email protected]")).environmentObject(settings)
109-
})
97+
VStack(alignment: .leading) {
98+
HStack(alignment: .center) {
99+
Spacer()
100+
Text("More coming soon!").bold().font(.callout)
101+
Spacer()
102+
}
103+
HStack(alignment: .bottom) {
104+
Spacer()
105+
Text("Thank you for the support!").font(.subheadline)
106+
Spacer()
107+
}
108+
}
110109
}.listStyle(GroupedListStyle()).navigationTitle("App Icon").alert(isPresented: $showAlert, content: {
111110
Alert(title: Text("Error"), message: Text("Unable to set icon. Try again later."), dismissButton: .default(Text("Okay")))
112111
})

0 commit comments

Comments
 (0)