Moved premium gradient in box for share of QR code to first place.

This commit is contained in:
23rd 2024-09-10 13:49:02 +03:00
parent d0536cc31f
commit d1d1aa3d21

View file

@ -487,12 +487,14 @@ void FillPeerQrBox(
}) | ranges::views::filter([](const Colors &colors) { }) | ranges::views::filter([](const Colors &colors) {
return !colors.empty(); return !colors.empty();
}) | ranges::to_vector; }) | ranges::to_vector;
colorsCollection.push_back(Colors{ colorsCollection.insert(
st::premiumButtonBg1->c, colorsCollection.begin(),
st::premiumButtonBg1->c, Colors{
st::premiumButtonBg2->c, st::premiumButtonBg1->c,
st::premiumButtonBg3->c, st::premiumButtonBg1->c,
}); st::premiumButtonBg2->c,
st::premiumButtonBg3->c,
});
// colorsCollection.push_back(Colors{ // colorsCollection.push_back(Colors{
// st::creditsBg1->c, // st::creditsBg1->c,
// st::creditsBg2->c, // st::creditsBg2->c,