From 7dea9552610065a83e42aca56370f2f994f7b797 Mon Sep 17 00:00:00 2001 From: Matthieu <24-artectrex@users.noreply.shinice.net> Date: Sun, 31 Dec 2023 13:27:40 +0100 Subject: [PATCH] Fix share and save of images --- .../org/pixeldroid/app/postCreation/PostCreationViewModel.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/pixeldroid/app/postCreation/PostCreationViewModel.kt b/app/src/main/java/org/pixeldroid/app/postCreation/PostCreationViewModel.kt index acbefc2a..8f0bfa94 100644 --- a/app/src/main/java/org/pixeldroid/app/postCreation/PostCreationViewModel.kt +++ b/app/src/main/java/org/pixeldroid/app/postCreation/PostCreationViewModel.kt @@ -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){