WIP
This commit is contained in:
@@ -49,6 +49,17 @@ struct AccountView: View {
|
||||
}
|
||||
}
|
||||
Spacer()
|
||||
|
||||
Button("Logout", action: {
|
||||
userStore.logout()
|
||||
})
|
||||
.frame(maxWidth: .infinity, alignment: .center)
|
||||
.frame(height: 44)
|
||||
.foregroundColor(.white)
|
||||
.background(.red)
|
||||
.cornerRadius(8)
|
||||
.padding()
|
||||
.frame(maxWidth: .infinity)
|
||||
}
|
||||
.padding()
|
||||
.onAppear{
|
||||
|
||||
Reference in New Issue
Block a user