mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix premium star / status in accounts list.
This commit is contained in:
parent
40bdcd7ebc
commit
20a5950f99
1 changed files with 3 additions and 1 deletions
|
@ -135,7 +135,9 @@ ComposedBadge::ComposedBadge(
|
||||||
|
|
||||||
rpl::combine(
|
rpl::combine(
|
||||||
_unreadWidth.events_starting_with(_unread ? _unread->width() : 0),
|
_unreadWidth.events_starting_with(_unread ? _unread->width() : 0),
|
||||||
_premiumWidth.events_starting_with(0),
|
_premiumWidth.events_starting_with(_badge.widget()
|
||||||
|
? _badge.widget()->width()
|
||||||
|
: 0),
|
||||||
_text.value(),
|
_text.value(),
|
||||||
button->sizeValue()
|
button->sizeValue()
|
||||||
) | rpl::start_with_next([=](
|
) | rpl::start_with_next([=](
|
||||||
|
|
Loading…
Add table
Reference in a new issue