Skip to content

Commit

Permalink
feat: Resolved PR comments
Browse files Browse the repository at this point in the history
Signed-off-by: Gaurav Goel <[email protected]>
  • Loading branch information
Gaurav Goel committed Nov 6, 2024
1 parent 5ee8fec commit 6559637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/web3auth/sfaexample/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class MainActivity : AppCompatActivity() {

val sfakey = singleFactorAuth.initialize(this.applicationContext)
sfakey.whenComplete { response, error ->
if (error == null) {
if (response != null) {
val text =
"Public Address: ${response?.publicAddress} , Private Key: ${response?.privateKey}"
tv.text = text
Expand Down

0 comments on commit 6559637

Please sign in to comment.