mirror of
https://gitlab.shinice.net/pixeldroid/PixelDroid
synced 2025-01-16 17:03:13 +01:00
Fix share and save of images
This commit is contained in:
parent
69a0c13d32
commit
7dea955261
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user