Skip to content

Commit

Permalink
Signup fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mcrich23 committed Dec 15, 2023
1 parent cba0e7a commit d1af05b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
uuid = "472F2B14-C4A0-41DF-A801-39A130565240"
type = "0"
version = "2.0">
</Bucket>
6 changes: 4 additions & 2 deletions ScribbleLab/Core/Auth/View/CompleteRegistartionView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ struct CompleteRegistartionView: View {
.padding(.horizontal, 24)

SLButton(text: "Register", font: .subheadline, backgroundColor: .orange, textColor: .black, cornerRadius: 10) {
Task { try await viewModel.createUser() }
Task { try await vm.signIn() }
Task {
try await viewModel.createUser()
try await vm.signIn()
}
// Task {
// do {
// try await viewModel.createUser()
Expand Down

0 comments on commit d1af05b

Please sign in to comment.