2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Show premium stickers toast on double click.

This commit is contained in:
John Preston
2022-05-26 12:30:50 +04:00
parent e5d95c0ab0
commit be16a7725c
11 changed files with 224 additions and 10 deletions

View File

@@ -75,6 +75,22 @@ historyResizeWidth: 6px;
historyPaddingBottom: 8px;
historyPremiumToast: Toast(defaultToast) {
minWidth: msgMinWidth;
maxWidth: 380px;
padding: margins(19px, 13px, 19px, 12px);
}
historyPremiumViewSet: RoundButton(defaultActiveButton) {
width: -24px;
height: 44px;
textTop: 13px;
textFg: mediaviewTextLinkFg;
textFgOver: mediaviewTextLinkFg;
textBg: transparent;
textBgOver: transparent;
ripple: emptyRippleAnimation;
}
historyToDownPosition: point(12px, 10px);
historyToDownAbove: icon {{ "history_down_arrow", historyToDownFg }};
historyToDownAboveOver: icon {{ "history_down_arrow", historyToDownFgOver }};