Skip to content

Commit

Permalink
🩹 [MOB-2586] - Fixed buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
theomendes committed Nov 8, 2021
1 parent 0e1f2cd commit ba528f8
Showing 1 changed file with 27 additions and 39 deletions.
66 changes: 27 additions & 39 deletions Projects/Challenge Alpha iOS/Shared/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,49 +26,37 @@ struct ContentView: View {
}.buttonStyle(PlainButtonStyle())

NavigationLink(destination: ResultRenderView(type: .searchPackage)) {
Button(action: {
debugPrint("Search Package")
}) {
Text("Search Package")
.fontWeight(.bold)
.font(.title)
.padding()
.background(Color.blue)
.cornerRadius(40)
.foregroundColor(.white)
.padding(10)
}
}
Text("Search Package")
.fontWeight(.bold)
.font(.title)
.padding()
.background(Color.blue)
.cornerRadius(40)
.foregroundColor(.white)
.padding(10)
}.buttonStyle(PlainButtonStyle())

NavigationLink(destination: ResultRenderView(type: .searchHotel)) {
Button(action: {
debugPrint("Search Hotel")
}) {
Text("Search Hotel")
.fontWeight(.bold)
.font(.title)
.padding()
.background(Color.blue)
.cornerRadius(40)
.foregroundColor(.white)
.padding(10)
}
}
Text("Search Hotel")
.fontWeight(.bold)
.font(.title)
.padding()
.background(Color.blue)
.cornerRadius(40)
.foregroundColor(.white)
.padding(10)
}.buttonStyle(PlainButtonStyle())

NavigationLink(destination: ResultRenderView(type: .suggestion)) {
Button(action: {
debugPrint("Suggestion")
}) {
Text("Suggestion")
.fontWeight(.bold)
.font(.title)
.padding()
.background(Color.blue)
.cornerRadius(40)
.foregroundColor(.white)
.padding(10)
}
}
Text("Suggestion")
.fontWeight(.bold)
.font(.title)
.padding()
.background(Color.blue)
.cornerRadius(40)
.foregroundColor(.white)
.padding(10)
}.buttonStyle(PlainButtonStyle())
}
}
}
Expand Down

0 comments on commit ba528f8

Please sign in to comment.