Skip to content
Snippets Groups Projects

Tormod

1 file
+ 15
0
Compare changes
  • Side-by-side
  • Inline
@@ -158,6 +158,21 @@ struct ProfileDetails: View {
.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.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 {
Loading