fix: update comment to clarify photo picker behavior after selection

This commit is contained in:
k1ngsterr1
2026-02-05 04:29:58 +05:00
parent f5a8070aa9
commit 718eb4ef56

View File

@@ -371,7 +371,8 @@ fun ProfilePhotoPicker(
onPhotoClick = { photo -> onPhotoClick = { photo ->
haptic.performHapticFeedback(HapticFeedbackType.LongPress) haptic.performHapticFeedback(HapticFeedbackType.LongPress)
onPhotoSelected(photo.uri) onPhotoSelected(photo.uri)
// Don't call animatedClose - let parent handle dismiss after crop // Закрываем picker после выбора фото
animatedClose()
}, },
isDarkTheme = isDarkTheme isDarkTheme = isDarkTheme
) )