Commit Graph

809 Commits

Author SHA1 Message Date
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 2f5038a792 Improve webview on macOS. 2022-08-04 19:33:56 +03:00
John Preston e438cb57bc Show, send and receive interactions in single custom emoji. 2022-08-04 16:10:36 +03:00
John Preston f4b80d8714 Show premium emoji toast / send to Saved Messages. 2022-08-02 20:59:50 +03:00
23rd c47e951519 Added missed back button to premium narrow section without stack. 2022-08-02 16:51:00 +03:00
John Preston b96e09534d Fix blocked list loading.
Fixes #24783.
2022-08-02 13:20:38 +03:00
John Preston 730ee3ae16 Beta version 4.0.3: Fix build with Xcode. 2022-07-29 00:33:47 +03:00
23rd 3602155f68 Fixed display of gift service actions for gift senders. 2022-07-27 12:49:52 +03:00
23rd d2170232af Added toast to privacy setting for voice messages for non-premium users. 2022-07-26 20:12:13 +03:00
John Preston 58fb14e292 Show Experimental settings in builds without autoupdates. 2022-07-26 20:12:12 +03:00
John Preston bf286cf175 Show "Unlock emoji" button for premium sets. 2022-07-26 20:12:12 +03:00
23rd 31a683ab3d Added lock icon to buttons in privacy settings. 2022-07-26 20:12:11 +03:00
John Preston 3ccc567e04 Add animated emoji premium preview. 2022-07-26 20:12:11 +03:00
23rd 3fe83282a8 Slightly improved code style of controllers for privacy settings. 2022-07-26 20:12:11 +03:00
23rd 67195f3825 Added initial support of privacy setting for voice messages. 2022-07-26 20:12:11 +03:00
23rd 032372f150 Added stars animation to box for premium gifts. 2022-07-26 20:12:09 +03:00
23rd 2a3d72ad2e Added ability to provide custom text to subscribe button. 2022-07-26 20:12:09 +03:00
23rd 99676c4cf8 Moved some premium styles to separate file. 2022-07-26 20:12:09 +03:00
23rd 7b00671ccf Moved out all values of premium limits to single place. 2022-06-16 13:29:37 +03:00
John Preston 01bcdf10ee Add arrows to move in premium previews box. 2022-06-15 19:31:13 +04:00
23rd 6553e4492c Fixed phrase for placeholder in field of local passcode check. 2022-06-15 14:06:32 +03:00
John Preston 707359e371 Close double limits preview box on premium change. 2022-06-14 16:40:50 +04:00
Ilya Fedin 08b99134fa Use brackets include for third-party libraries 2022-06-14 16:36:44 +04:00
John Preston 3e5b52bc2e Fix premium settings cover. 2022-06-14 16:23:09 +04:00
John Preston 6260f258bb Improve premium preview boxes close buttons. 2022-06-14 16:03:44 +04:00
23rd 629574685e Fixed display of most of simple toasts in corresponding window. 2022-06-14 14:24:21 +03:00
John Preston 6d8012f13a Pause premium settings animations. 2022-06-14 13:43:07 +04:00
23rd 691a434ba9 Added premium badge to main settings. 2022-06-14 08:52:45 +03:00
23rd 8b4405b71a Added premium badge to list of accounts. 2022-06-14 08:52:45 +03:00
23rd 7a821ca0f4 Decomposed creating of unread badge in list of accounts. 2022-06-14 08:52:45 +03:00
John Preston c9292512c0 Show premium previews from the settings. 2022-06-14 07:11:35 +04:00
John Preston 50926acab9 Toggle premium stickers previews. 2022-06-13 23:10:32 +04:00
23rd acf7a82507 Added preview box for premium doubled limits. 2022-06-13 14:27:26 +03:00
23rd 17274e17ed Changed behavior for premium features in settings to be clickable. 2022-06-13 14:27:26 +03:00
John Preston fc07954276 Improve premium section bottom. 2022-06-13 13:49:45 +04:00
23rd 0bd65794d2 Added glare effect to gradient round button. 2022-06-12 16:07:41 +03:00
23rd 1d475ee727 Slightly optimized includes in application.h. 2022-06-12 16:07:41 +03:00
John Preston 333b986098 Remove ToS and Privacy Policy footer. 2022-06-12 16:51:55 +04:00
23rd 43c0197445 Removed Ui::hideLayer from places that can be in non-primary windows. 2022-06-09 07:06:01 +03:00
John Preston 17b2d043cb Auto-submit bot start in subscription settings. 2022-06-08 17:23:24 +04:00
John Preston 916f86b401 Don't show premium star when premium unavailable. 2022-06-08 16:53:16 +04:00
John Preston 524771529a Don't shows premium section / preview if unavailable. 2022-06-08 11:26:53 +04:00
John Preston a780fbd09b Add "ctrl-click-chat-new-window" option. 2022-06-07 22:05:37 +04:00
John Preston 896d39bc6a Add ToS and Privacy Policy links to premium subscription. 2022-06-07 16:58:14 +04:00
John Preston 00bea8d1ee Don't show subscribe button with blocked premium. 2022-06-07 11:49:24 +04:00
John Preston 4570da5767 Skip premium section in settings. 2022-06-07 11:27:06 +04:00
23rd 8f076b0c9e Added auto-scroll-inactive-chat option. 2022-06-05 09:11:09 +03:00
John Preston df17f20a47 Support attach bot menu / reload / settings. 2022-06-03 20:07:33 +04:00
John Preston 499923b6d3 Show real subscription price from the API. 2022-06-03 15:57:06 +04:00
John Preston de31c1cf0c Subscription status display. 2022-06-02 17:30:01 +04:00