mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 05:07:10 +02:00
Fixed ripple color for top buttons in section of affiliate programs.
This commit is contained in:
parent
1c28495162
commit
d690af99fc
1 changed files with 4 additions and 0 deletions
|
@ -1045,6 +1045,8 @@ std::unique_ptr<Ui::Premium::TopBarAbstract> Widget::setupTop() {
|
|||
_back->entity()->addClickHandler([=] {
|
||||
controller->showBackFromStack();
|
||||
});
|
||||
_back->entity()->setRippleColorOverride(
|
||||
&st::universalRippleAnimation.color);
|
||||
_back->toggledValue(
|
||||
) | rpl::start_with_next([=](bool toggled) {
|
||||
const auto &st = isLayer ? st::infoLayerTopBar : st::infoTopBar;
|
||||
|
@ -1063,6 +1065,8 @@ std::unique_ptr<Ui::Premium::TopBarAbstract> Widget::setupTop() {
|
|||
controller->parentController()->hideLayer();
|
||||
controller->parentController()->hideSpecialLayer();
|
||||
});
|
||||
_close->setRippleColorOverride(
|
||||
&st::universalRippleAnimation.color);
|
||||
raw->widthValue(
|
||||
) | rpl::start_with_next([=] {
|
||||
_close->moveToRight(0, 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue