mirror of
https://gitlab.shinice.net/pixeldroid/PixelDroid
synced 2025-01-30 15:24:49 +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),
|
addPhotoButtonEnabled = (photoData.value?.size ?: 0) < (newMaxEntries ?: 0),
|
||||||
)
|
)
|
||||||
|
|
||||||
// Carousel off if in story mode
|
// Carousel on if in story mode
|
||||||
if (storyMode) newUiState = newUiState.copy(isCarousel = false)
|
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 switching to story, and there are too many pictures, keep the first and backup the rest
|
||||||
if (storyMode && (photoData.value?.size ?: 0) > 1){
|
if (storyMode && (photoData.value?.size ?: 0) > 1){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user