diff --git a/Telegram/SourceFiles/info/channel_statistics/boosts/create_giveaway_box.cpp b/Telegram/SourceFiles/info/channel_statistics/boosts/create_giveaway_box.cpp index 53f1b9136b..c840ddc1a3 100644 --- a/Telegram/SourceFiles/info/channel_statistics/boosts/create_giveaway_box.cpp +++ b/Telegram/SourceFiles/info/channel_statistics/boosts/create_giveaway_box.cpp @@ -850,6 +850,9 @@ void CreateGiveawayBox( ? creditsOptionWinners(credits) : availablePresets; const auto count = values.size(); + if (count <= 1) { + return; + } const auto sliderWidth = sliderState->slider->width() - st::settingsScale.seekSize.width(); for (auto i = 0; i < count; i++) {