Skip to content

Commit 44d89d0

Browse files
committed
fix: revert SetUserAuth/SetPassword to direct property syntax
Now that the SDK uses string instead of *string for AddAuthArgs, gomobile exposes userAuth and password as direct string properties that Swift can assign to with dot syntax.
1 parent 68bea3c commit 44d89d0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/network/Main/Account/Settings/AddAuthSheet.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ struct AddAuthSheet: View {
114114
let args = SdkAddAuthArgs()
115115

116116
if selectedMethod == "email" {
117-
args.SetUserAuth(email)
118-
args.SetPassword(password)
117+
args.userAuth = email
118+
args.password = password
119119
}
120120
// seedphrase is generated server-side, no args needed
121121

0 commit comments

Comments
 (0)