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

Moved out Type of ministars from class to separated enum class.

This commit is contained in:
23rd
2025-07-02 09:55:50 +03:00
parent b0971601b1
commit f2f5ffd861
10 changed files with 23 additions and 19 deletions

View File

@@ -116,8 +116,8 @@ TopBar::TopBar(
this,
descriptor.optimizeMinistars,
(_logo == u"diamond"_q)
? MiniStars::Type::DiamondStars
: MiniStars::Type::BiStars) {
? MiniStarsType::DiamondStars
: MiniStarsType::BiStars) {
std::move(
descriptor.title
) | rpl::start_with_next([=](QString text) {