fix: update comment to clarify photo picker behavior after selection
This commit is contained in:
@@ -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
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user