Fix share and save of images

This commit is contained in:
Matthieu 2023-12-31 13:27:40 +01:00
parent 69a0c13d32
commit 7dea955261
1 changed files with 2 additions and 2 deletions

View File

@ -598,8 +598,8 @@ class PostCreationViewModel(
addPhotoButtonEnabled = (photoData.value?.size ?: 0) < (newMaxEntries ?: 0),
)
// Carousel off if in story mode
if (storyMode) newUiState = newUiState.copy(isCarousel = false)
// Carousel on if in story mode
if (storyMode) newUiState = newUiState.copy(isCarousel = true)
// If switching to story, and there are too many pictures, keep the first and backup the rest
if (storyMode && (photoData.value?.size ?: 0) > 1){