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) {
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,