Skip to content
Snippets Groups Projects
Commit 2ef27a6c authored by Tormod Mork Müller's avatar Tormod Mork Müller :computer:
Browse files

Merge branch 'Tormod' into 'main'

Tormod

See merge request !116
parents 23e35196 b56fb115
No related branches found
No related tags found
1 merge request!116Tormod
...@@ -158,6 +158,21 @@ struct ProfileDetails: View { ...@@ -158,6 +158,21 @@ struct ProfileDetails: View {
.background(colorScheme == .dark ? Color(UIColor.white) : Color(UIColor.white)).cornerRadius(7) .background(colorScheme == .dark ? Color(UIColor.white) : Color(UIColor.white)).cornerRadius(7)
.shadow(color: Color(UIColor.black).opacity(0.1), radius: 5, x: 0, y: 2) .shadow(color: Color(UIColor.black).opacity(0.1), radius: 5, x: 0, y: 2)
.shadow(color: Color(UIColor.black).opacity(0.2), radius: 20, x: 0, y: 10) .shadow(color: Color(UIColor.black).opacity(0.2), radius: 20, x: 0, y: 10)
Spacer()
Button (action: {
viewModel.signOut()
}) {
Text("Logg av")
.frame(width: 150, height: 50, alignment: .center)
}
.foregroundColor(.white)
.background(Color.blue)
.cornerRadius(10)
Spacer()
.frame(height:50) // limit spacer size by applying a frame
} }
} }
.task { .task {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment