2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Fix premium preview bullet-dots.

Regression was introduced in 88751896af.
This commit is contained in:
John Preston
2024-04-30 18:37:31 +04:00
parent b9b7d9e337
commit 63e1731d7c

View File

@@ -913,7 +913,7 @@ void PreviewBox(
auto businessOrder = Settings::BusinessFeaturesOrder(&show->session());
state->order = ranges::contains(businessOrder, descriptor.section)
? std::move(businessOrder)
: ranges::contains(businessOrder, descriptor.section)
: ranges::contains(premiumOrder, descriptor.section)
? std::move(premiumOrder)
: std::vector{ descriptor.section };