Add resale gift sorting modes icons.
BIN
Telegram/Resources/icons/menu/order_date.png
Normal file
After Width: | Height: | Size: 585 B |
BIN
Telegram/Resources/icons/menu/order_date@2x.png
Normal file
After Width: | Height: | Size: 1,015 B |
BIN
Telegram/Resources/icons/menu/order_date@3x.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
Telegram/Resources/icons/menu/order_number.png
Normal file
After Width: | Height: | Size: 680 B |
BIN
Telegram/Resources/icons/menu/order_number@2x.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Telegram/Resources/icons/menu/order_number@3x.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
Telegram/Resources/icons/menu/order_price.png
Normal file
After Width: | Height: | Size: 813 B |
BIN
Telegram/Resources/icons/menu/order_price@2x.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
Telegram/Resources/icons/menu/order_price@3x.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
|
@ -3447,7 +3447,12 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
"lng_gift_send_limited_left#other" = "{count} left";
|
"lng_gift_send_limited_left#other" = "{count} left";
|
||||||
"lng_gift_send_button" = "Send a Gift for {cost}";
|
"lng_gift_send_button" = "Send a Gift for {cost}";
|
||||||
"lng_gift_send_button_self" = "Buy a Gift for {cost}";
|
"lng_gift_send_button_self" = "Buy a Gift for {cost}";
|
||||||
|
"lng_gift_buy_resale_button" = "Buy for {cost}";
|
||||||
|
"lng_gift_buy_resale_confirm" = "Do you want to buy {gift} for {cost} and gift it to {user}?";
|
||||||
|
"lng_gift_buy_resale_confirm_self" = "Do you want to buy {gift} for {cost}?";
|
||||||
"lng_gift_sent_title" = "Gift Sent!";
|
"lng_gift_sent_title" = "Gift Sent!";
|
||||||
|
"lng_gift_sent_resale_done" = "{user} has been notified about your gift.";
|
||||||
|
"lng_gift_sent_resale_done_self" = "{gift} is not yours.";
|
||||||
"lng_gift_sent_about#one" = "You spent **{count}** Star from your balance.";
|
"lng_gift_sent_about#one" = "You spent **{count}** Star from your balance.";
|
||||||
"lng_gift_sent_about#other" = "You spent **{count}** Stars from your balance.";
|
"lng_gift_sent_about#other" = "You spent **{count}** Stars from your balance.";
|
||||||
"lng_gift_limited_of_one" = "unique";
|
"lng_gift_limited_of_one" = "unique";
|
||||||
|
|
|
@ -1229,13 +1229,13 @@ struct ResaleTabs {
|
||||||
};
|
};
|
||||||
actionWithIcon(tr::lng_gift_resale_sort_price(tr::now), [=] {
|
actionWithIcon(tr::lng_gift_resale_sort_price(tr::now), [=] {
|
||||||
sort(ResaleSort::Price);
|
sort(ResaleSort::Price);
|
||||||
}, &st::menuIconAbove, is(ResaleSort::Price)); AssertIsDebug(icons);
|
}, &st::menuIconOrderPrice, is(ResaleSort::Price)); AssertIsDebug(icons);
|
||||||
actionWithIcon(tr::lng_gift_resale_sort_date(tr::now), [=] {
|
actionWithIcon(tr::lng_gift_resale_sort_date(tr::now), [=] {
|
||||||
sort(ResaleSort::Date);
|
sort(ResaleSort::Date);
|
||||||
}, &st::menuIconBelow, is(ResaleSort::Date));
|
}, &st::menuIconOrderDate, is(ResaleSort::Date));
|
||||||
actionWithIcon(tr::lng_gift_resale_sort_number(tr::now), [=] {
|
actionWithIcon(tr::lng_gift_resale_sort_number(tr::now), [=] {
|
||||||
sort(ResaleSort::Number);
|
sort(ResaleSort::Number);
|
||||||
}, &st::menuIconFactcheck, is(ResaleSort::Number));
|
}, &st::menuIconOrderNumber, is(ResaleSort::Number));
|
||||||
} else {
|
} else {
|
||||||
const auto now = state->filter.current().attributes;
|
const auto now = state->filter.current().attributes;
|
||||||
const auto type = IndexToType(index);
|
const auto type = IndexToType(index);
|
||||||
|
@ -1252,7 +1252,7 @@ struct ResaleTabs {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}, &st::menuIconAbove);
|
}, &st::menuIconSelect);
|
||||||
}
|
}
|
||||||
const auto toggle = [=](AttributeId id) {
|
const auto toggle = [=](AttributeId id) {
|
||||||
modify([&](ResaleFilter &filter) {
|
modify([&](ResaleFilter &filter) {
|
||||||
|
|
|
@ -179,6 +179,9 @@ menuIconNftTakeOff: icon {{ "menu/nft_takeoff", menuIconColor }};
|
||||||
menuIconShortcut: icon {{ "menu/shortcut", menuIconColor }};
|
menuIconShortcut: icon {{ "menu/shortcut", menuIconColor }};
|
||||||
menuIconHourglass: icon {{ "menu/hourglass", menuIconColor }};
|
menuIconHourglass: icon {{ "menu/hourglass", menuIconColor }};
|
||||||
menuIconPayment: icon {{ "payments/payment_card", menuIconColor }};
|
menuIconPayment: icon {{ "payments/payment_card", menuIconColor }};
|
||||||
|
menuIconOrderPrice: icon {{ "menu/order_price", menuIconColor }};
|
||||||
|
menuIconOrderDate: icon {{ "menu/order_date", menuIconColor }};
|
||||||
|
menuIconOrderNumber: icon {{ "menu/order_number", menuIconColor }};
|
||||||
|
|
||||||
menuIconTTLAny: icon {{ "menu/auto_delete_plain", menuIconColor }};
|
menuIconTTLAny: icon {{ "menu/auto_delete_plain", menuIconColor }};
|
||||||
menuIconTTLAnyTextPosition: point(11px, 22px);
|
menuIconTTLAnyTextPosition: point(11px, 22px);
|
||||||
|
|