updated readme, small fixes

This commit is contained in:
David Wernhart
2020-02-19 11:47:55 +01:00
parent 906cec6cc5
commit da6567b5e8
12 changed files with 89 additions and 18 deletions

View File

@@ -81,7 +81,15 @@ struct settings<Content: View>: View {
Spacer()
VStack(alignment: .leading){
Text("AlDente 🍝").font(.subheadline)
Text("github.com/davidwernhart/AlDente").foregroundColor(Color.blue)
Button(action:{
let url = URL(string: "https://www.github.com/davidwernhart/AlDente")!
if NSWorkspace.shared.open(url) {
print("default browser was successfully opened")
}
}){
Text("github.com/davidwernhart/AlDente").foregroundColor(Color.blue)
}.buttonStyle(PlainButtonStyle())
Text("Created with 🤍 by David Wernhart in 2020")
// Text("AlDente 🍝").font(.title)
// Text("Keep your battery just right").font(.subheadline)