From d36daca2420e9835df9dd798765636e2a03359e1 Mon Sep 17 00:00:00 2001 From: bxdxnn <267911624+bxdxnn@users.noreply.github.com> Date: Fri, 7 Aug 2026 13:44:43 +0000 Subject: [PATCH] Fix --- .../android/features/poll/impl/create/CreatePollPresenter.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/poll/impl/src/main/kotlin/io/element/android/features/poll/impl/create/CreatePollPresenter.kt b/features/poll/impl/src/main/kotlin/io/element/android/features/poll/impl/create/CreatePollPresenter.kt index 22d096e763..b2c5bc1276 100644 --- a/features/poll/impl/src/main/kotlin/io/element/android/features/poll/impl/create/CreatePollPresenter.kt +++ b/features/poll/impl/src/main/kotlin/io/element/android/features/poll/impl/create/CreatePollPresenter.kt @@ -109,7 +109,7 @@ class CreatePollPresenter( question = poll.question, answers = poll.answers, pollKind = poll.pollKind, - maxSelections = poll.effectiveMaxSelections, + maxSelections = poll.maxSelections, ).onSuccess { analyticsService.capturePollSaved( isUndisclosed = poll.pollKind == PollKind.Undisclosed, @@ -185,7 +185,7 @@ class CreatePollPresenter( question = poll.question, answers = immutableAnswers, pollKind = poll.pollKind, - maxSelections = poll.effectiveMaxSelections, + maxSelections = poll.maxSelections, maxAllowedSelections = poll.answers.size, showBackConfirmation = showBackConfirmation, showDeleteConfirmation = showDeleteConfirmation,