John Preston
405d8c327d
Support different row styles in chats list.
2022-11-01 19:25:34 +04:00
John Preston
1401b19994
Add PaintContext for Dialogs::Ui::RowPainter.
2022-11-01 19:25:34 +04:00
Ilya Fedin
7b5781b845
Use default-constructed QLocale for date/time/whatever else formatting
...
Qt 6 chenged the QDateTime API to use QLocale::c() rather than QLocale::system(), using default-constructed QLocale will make this consistent and overradable application-wide
Other formating use-cases as QLocale::decimalPoint use default-constructed QLocale now, too
2022-10-17 08:33:22 +04:00
Ilya Fedin
2c1933bdb8
Use application-wide time format in remaining td_ui places
2022-10-17 08:33:22 +04:00
23rd
9c3173e4bb
Fixed updating of emoji status from TopBar in Premium Settings for user.
...
Regression was introduced in 47b32898f5
.
2022-09-28 08:46:35 +03:00
John Preston
4f948699c0
Correct spoiler selections.
2022-09-18 16:52:31 +04:00
John Preston
cd00d41cca
Correct spoiler colors in fully selected messages.
2022-09-18 16:52:31 +04:00
John Preston
749fb52113
Implement animated spoilers.
2022-09-18 16:52:30 +04:00
John Preston
379736a7d1
Show extended preview inline keyboard button.
2022-09-12 16:40:19 +04:00
John Preston
2e8a03dfd1
Correctly round spoiler animation in ExtendedMedia.
2022-09-12 09:06:26 +04:00
John Preston
3129d9f0df
Add a distinct "N seconds" key for the slowmode phrase.
2022-09-10 08:19:37 +04:00
John Preston
d4810713cb
Fly-animate reactions from the new context menu.
2022-09-06 17:08:20 +04:00
John Preston
f0955f2021
Add emoji-status disclaimer for unknown peers.
2022-09-06 11:20:55 +04:00
23rd
fa4801ac94
Added ability to set emoji status for certain period of time.
2022-09-02 21:14:34 +04:00
John Preston
9bb2bb09b9
Update API scheme on layer 145.
...
Restrict send from channels to premium in line with API restrictions.
2022-09-02 21:14:34 +04:00
John Preston
2618ee3d75
Paint two-loops of custom emoji statuses.
2022-09-02 21:14:33 +04:00
John Preston
2d07539892
Support colored emoji statuses.
2022-09-02 21:14:33 +04:00
23rd
7ed10eaacc
Added gradient colors to radiobutton views in Premium Settings.
2022-09-02 21:14:33 +04:00
23rd
5505a566be
Replaced gradient header in Premium Settings for dark themes.
2022-09-02 21:14:32 +04:00
23rd
35c59ad35a
Moved out util function for contrast calculation between 2 colors.
2022-09-02 21:14:32 +04:00
John Preston
ed3f246510
Use FrameGenerator-based AnimatedIcon for reactions.
2022-09-02 21:14:32 +04:00
23rd
da6d580348
Fixed style of box for premium doubled limits.
2022-09-02 21:14:32 +04:00
23rd
149d92d224
Added ability to choose subscription option for Premium in Settings.
2022-09-02 21:14:32 +04:00
23rd
6f3d19914d
Unified parsing of MTP gift and subscription options in separate file.
2022-09-02 21:14:32 +04:00
23rd
fc759ac688
Renamed GiftOption to SubscriptionOption.
2022-09-02 21:14:31 +04:00
23rd
b519b6bf4c
Reduced minimum and maximum sizes of ministars.
2022-09-02 21:14:31 +04:00
23rd
65ad8e6ac1
Moved out class for colored ministars to separate file.
2022-09-02 21:14:31 +04:00
John Preston
668a3308be
Support custom emoji reactions in WhoReacted.
2022-09-02 21:14:31 +04:00
John Preston
ba83836922
Display custom emoji reactions under messages.
2022-09-02 21:14:31 +04:00
John Preston
8a6b3027f5
Support multiple reactions from one user.
2022-09-02 21:14:31 +04:00
John Preston
96805b62b2
Seamless switch from strip icons to custom emoji.
2022-09-02 21:14:30 +04:00
John Preston
0277d765bb
Nice reactions panel expanding.
2022-09-02 21:14:30 +04:00
John Preston
c5fa4aae62
Support reaction dropdown based on EmojiListWidget.
2022-09-02 21:14:30 +04:00
John Preston
bd42c23999
Implement reactions selector above the menu.
2022-09-02 21:14:30 +04:00
John Preston
a0d5456a4d
PoC content outside of PopupMenu.
2022-09-02 21:14:29 +04:00
John Preston
bd089f20a8
Emoji status selector in MainMenu/Settings.
2022-09-02 21:14:28 +04:00
John Preston
21fd381778
Show emoji status in chats list / top bar.
2022-09-02 21:14:28 +04:00
John Preston
2c0a38d356
Don't unload emoji sets.
...
Fixes #24933 .
2022-08-15 15:52:27 +03:00
Sergey A. Osokin
7a3452a18a
Fix warnings by removing unused const variables
...
Telegram/SourceFiles/ui/text/custom_emoji_instance.cpp:23:16: warning: unused variable 'kMaxFrameDuration' [-Wunused-const-variable]
Telegram/SourceFiles/boxes/reactions_settings_box.cpp:46:16: warning: unused variable 'kVisibleButtonsCount' [-Wunused-const-variable]
Telegram/SourceFiles/boxes/premium_preview_box.cpp:53:16: warning: unused variable 'kShiftDuration' [-Wunused-const-variable]
Telegram/SourceFiles/settings/settings_premium.cpp:55:16: warning: unused variable 'kTitleAnimationPart' [-Wunused-const-variable]
Found by: clang
2022-08-08 21:21:13 +04:00
John Preston
f8e22210e7
Move Webm sticker to UnwrappedMedia.
2022-08-04 13:35:34 +03:00
John Preston
087074fea4
Request song covers through MTProto.
2022-08-02 13:20:38 +03:00
John Preston
7a61693034
Limit attached emoji phrase to two lines.
2022-07-28 18:36:48 +03:00
23rd
c1fa39ac05
Equaled top and bottom padding for sticker in service gift message.
2022-07-28 02:49:07 +03:00
John Preston
85ec212220
Don't scroll large message menus.
2022-07-27 13:49:27 +03:00
23rd
2d75f9e752
Fixed build with Xcode.
2022-07-27 12:49:52 +03:00
John Preston
af54721f07
Disable attach bot share phone command for now.
2022-07-26 20:12:14 +03:00
John Preston
edfb7bb65a
Support custom emoji in IsolatedEmoji.
2022-07-26 20:12:14 +03:00
John Preston
2a4d269eca
Use large image previews more.
2022-07-26 20:12:13 +03:00
John Preston
31bb08068b
Use non-exact image previews if available.
2022-07-26 20:12:13 +03:00
John Preston
c51837cfdf
Reuse SizeTag::Large emoji instances.
2022-07-26 20:12:13 +03:00