Skip to content

Commit 4209f57

Browse files
committed
fix double callback issue on updateUserProfile
1 parent 311df63 commit 4209f57

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

android/src/main/java/io/fullstack/firestack/FirestackAuth.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -425,12 +425,7 @@ public void onComplete(@NonNull Task<Void> task) {
425425
userExceptionCallback(ex, callback);
426426
}
427427
}
428-
}).addOnFailureListener(new OnFailureListener() {
429-
@Override
430-
public void onFailure(@NonNull Exception ex) {
431-
userExceptionCallback(ex, callback);
432-
}
433-
});
428+
});
434429
}
435430

436431
@ReactMethod

0 commit comments

Comments
 (0)