Skip to content

Commit

Permalink
Moved premium gradient in box for share of QR code to first place.
Browse files Browse the repository at this point in the history
  • Loading branch information
23rd committed Sep 10, 2024
1 parent d0536cc commit d1d1aa3
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions Telegram/SourceFiles/ui/boxes/peer_qr_box.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -487,12 +487,14 @@ void FillPeerQrBox(
}) | ranges::views::filter([](const Colors &colors) {
return !colors.empty();
}) | ranges::to_vector;
colorsCollection.push_back(Colors{
st::premiumButtonBg1->c,
st::premiumButtonBg1->c,
st::premiumButtonBg2->c,
st::premiumButtonBg3->c,
});
colorsCollection.insert(
colorsCollection.begin(),
Colors{
st::premiumButtonBg1->c,
st::premiumButtonBg1->c,
st::premiumButtonBg2->c,
st::premiumButtonBg3->c,
});
// colorsCollection.push_back(Colors{
// st::creditsBg1->c,
// st::creditsBg2->c,
Expand Down

0 comments on commit d1d1aa3

Please sign in to comment.