FIX: Error on send would not scroll to recipient

This commit is contained in:
Marcos Rodriguez Velez 2025-02-18 22:51:17 -04:00
parent d338f813cb
commit 2c68583495

View file

@ -524,7 +524,8 @@ const SendDetails = () => {
}
if (error) {
scrollView.current?.scrollToIndex({ index });
// Scroll to the recipient that caused the error with animation
scrollView.current?.scrollToIndex({ index, animated: true });
setIsLoading(false);
presentAlert({ title: loc.errors.error, message: error });
triggerHapticFeedback(HapticFeedbackTypes.NotificationError);