Merge remote-tracking branch 'refs/remotes/origin/main'

This commit is contained in:
2021-02-07 15:51:10 +01:00
committed by Patrick Müller
3 changed files with 19 additions and 2 deletions
+17 -2
View File
@@ -21,9 +21,23 @@ struct HomeView: View {
NavigationView {
VStack {
HStack {
Text("name".localized(tableName: "General", plural: false) + ": ")
Text(self.name)
Spacer()
VStack {
Text("hey".localized(tableName: "HomeView", plural: false))
.font(.title3)
.frame(maxWidth: .infinity, alignment: .leading)
Text(self.name)
.bold()
.frame(maxWidth: .infinity, alignment: .leading)
}
.padding()
.background(
RoundedRectangle(cornerRadius: 10)
.fill(Color.gray)
)
Spacer()
}
Spacer()
HStack {
Text("course".localized(tableName: "General", plural: false) + ": ")
Text(self.course)
@@ -120,6 +134,7 @@ struct HomeView: View {
Spacer()
}
Spacer()
}
.navigationBarTitle(Text("Home"))
}