Commit Graph

860 Commits

Author SHA1 Message Date
John Preston
de31c1cf0c Subscription status display. 2022-06-02 17:30:01 +04:00
23rd
6c48abb562 Added support of premium accounts limits to list of accounts. 2022-06-02 13:54:41 +03:00
23rd
287fae858e Moved Settings::OrderedAccounts() to Main::Domain::orderedAccounts(). 2022-06-02 13:48:42 +03:00
23rd
a1736de977 Fixed processing of premium limits for filters. 2022-06-02 12:15:59 +03:00
23rd
9e4d47dcc0 Slightly improved style of box for premium accounts limits.
Added an icon for the info bubble.
Added a gradient color to selected account.
Respected an order of accounts from settings.
2022-06-02 02:16:01 +03:00
John Preston
568640f830 Hide subscribe button if premium. 2022-06-01 11:59:14 +04:00
23rd
35e4dd5968 Added initial support for increased premium count of accounts. 2022-06-01 11:59:14 +04:00
23rd
e09b624b84 Added gradient color to icon of premium settings. 2022-06-01 11:59:14 +04:00
23rd
735f1d5b03 Added phrases for subscribed users to premium settings. 2022-06-01 11:59:14 +04:00
John Preston
5bc072de07 Support premium bio (with links and x2 length). 2022-06-01 11:59:14 +04:00
23rd
8e6825771e Added support of filters limit to side bar. 2022-05-30 14:57:49 +03:00
23rd
b45f97d384 Removed description text from premium settings. 2022-05-30 07:58:04 +03:00
23rd
f1ebf3d9f6 Optimized drawing of ministars in premium settings. 2022-05-30 07:58:04 +03:00
23rd
ea0466aaa3 Added deformation effect to ministars in premium settings. 2022-05-30 07:58:04 +03:00
23rd
443d40906d Added fade effect to ministars from custom top bar in premium settings. 2022-05-30 07:58:04 +03:00
23rd
7749fadf11 Added support of disabled animation in premium settings. 2022-05-30 07:58:04 +03:00
23rd
8fbdd36ca0 Improved style of text from custom top bar in premium settings. 2022-05-30 07:58:04 +03:00
23rd
5916bd3e0d Added initial implementation of star animation in premium settings. 2022-05-24 14:37:05 +03:00
23rd
7037268a36 Slightly improved margins in premium settings. 2022-05-24 12:24:39 +03:00
John Preston
59be3d746c Show "Auto mute and archive new" for premium users. 2022-05-24 11:25:49 +04:00
23rd
a73676b3ba Slightly improved animation of top bar in premium settings. 2022-05-24 08:01:27 +03:00
23rd
ee9a04393e Slightly improved style of premium settings. 2022-05-24 08:01:27 +03:00
23rd
141f96590b Fixed focus in some new settings sections. 2022-05-24 01:41:23 +03:00
John Preston
d1907083ed Add FileSizeLimitBox and pass "ref" to premium payment. 2022-05-23 18:46:15 +04:00
John Preston
62f42eabb0 Allow layers with fixed-bottom to stick-to-bottom. 2022-05-23 15:45:43 +04:00
John Preston
ff030d0252 Auto-submit /start when paying for premium. 2022-05-23 15:45:22 +04:00
23rd
1eccb34f86 Added support for MTP order of entries in premium settings. 2022-05-23 13:37:02 +03:00
23rd
2a4faf22f6 Added initial animation to custom top bar in premium settings. 2022-05-23 13:37:02 +03:00
23rd
a284fa3273 Added close button to custom top bar in premium settings. 2022-05-23 13:37:02 +03:00
23rd
4e173c8e61 Provided Info::Wrap info to premium settings. 2022-05-23 13:37:02 +03:00
23rd
c310b263a6 Added ability to provide back button to pinned to top content. 2022-05-23 13:37:02 +03:00
23rd
00632dff46 Added initial support of custom top bar for premium settings. 2022-05-23 13:37:02 +03:00
23rd
9236dd3acb Added support of flexible scrollbar to Info::ContentWidget. 2022-05-23 13:37:02 +03:00
23rd
10ff236cd2 Slightly improved icon colors in premium settings. 2022-05-23 13:37:02 +03:00
John Preston
e72ca712ec Fix glitch in Settings > Premium layer scroll-to-bottom. 2022-05-23 12:04:31 +04:00
John Preston
d81bba155a Update some premium icons. 2022-05-20 19:28:50 +04:00
John Preston
9c9eae05a8 Update premium files icon in Settings. 2022-05-20 19:00:14 +04:00
John Preston
5cd065ef6b Show premium page on limit increase decision. 2022-05-20 17:12:56 +04:00
23rd
51ed3af14c Added new section for premium settings. 2022-05-20 13:18:22 +03:00
23rd
e7cc8ff44b Added ability to override brush for color icons in settings. 2022-05-20 13:18:22 +03:00
John Preston
26d7abe2c9 Fix crash in 2sv. 2022-05-19 17:27:04 +04:00
John Preston
0870a28443 Fix pinned chats in main list. 2022-05-19 17:27:04 +04:00
John Preston
fe91887ea2 Update API: support "All Chats" reordering. 2022-05-19 17:27:03 +04:00
John Preston
201edb2e69 Play premium video avatars in chats list. 2022-05-19 17:27:03 +04:00
John Preston
dd05fb4d14 Show limit toasts and boxes. 2022-05-19 17:27:02 +04:00
John Preston
090f83ae0d Smooth folder icon scale. 2022-05-19 17:27:02 +04:00
John Preston
c4e713815b Fix codes input in Settings. 2022-05-13 19:38:28 +04:00
23rd
910d0a7e47 Unified element sizes in all cloud password sections. 2022-05-12 03:51:41 +03:00
23rd
6e8fb2ec06 Returned ability to copy phone number from main settings. 2022-05-10 08:53:31 +03:00
23rd
2f58a7d3c4 Added auto-close timer for cloud password management section. 2022-05-10 08:53:31 +03:00
23rd
e364b80d0a Added ability to validate expired cloud password in management section. 2022-05-10 08:53:31 +03:00
23rd
f3efa85206 Added short comments for cloud password settings sections. 2022-05-10 08:53:31 +03:00
23rd
42f2f3c99f Slightly improved style of buttons in security and privacy settings. 2022-05-10 08:53:31 +03:00
23rd
a6d0367d71 Added some error handles for recovery email settings section. 2022-05-10 08:53:31 +03:00
23rd
bcbf009a62 Added ability to reset cloud password without recovery email. 2022-05-10 08:53:31 +03:00
23rd
fedd8bece3 Added ability to clear cloud password from recover state. 2022-05-10 08:53:31 +03:00
23rd
031525e7e3 Added ability to recover cloud password with email from settings. 2022-05-10 08:53:31 +03:00
23rd
4d5cb6398e Moved creation of link button in cloud password settings to common file. 2022-05-10 08:53:31 +03:00
23rd
9809c12fb8 Added initial entry point for new cloud password to settings privacy. 2022-05-10 08:53:30 +03:00
23rd
3e4ac35913 Added ability to set recovery email from cloud password management. 2022-05-10 08:53:30 +03:00
23rd
a72953411b Added step section of email confirm to cloud password settings. 2022-05-10 08:53:30 +03:00
23rd
3967e58627 Improved step section of password input for checking cloud password. 2022-05-10 08:53:30 +03:00
23rd
db46f84f2c Added initial implementation of cloud password management to settings. 2022-05-10 08:53:30 +03:00
23rd
9a57347973 Added step section of email input to cloud password settings. 2022-05-10 08:53:30 +03:00
23rd
c9c988e5f4 Added step section of hint input to cloud password settings. 2022-05-10 08:53:30 +03:00
23rd
5e2acdeaa3 Added step section of password input to cloud password settings. 2022-05-10 08:53:30 +03:00
23rd
5a4d1a1e85 Added first step section to cloud password settings. 2022-05-10 08:53:30 +03:00
23rd
fbd9437775 Added ability to transfer variant data between nearest setting sections. 2022-05-10 08:53:30 +03:00
23rd
2eaa17b938 Moved creation of flexible bottom content of password section to module. 2022-05-10 08:53:30 +03:00
23rd
7e3c54f8d0 Added common initial helpers for steps of cloud password settings. 2022-05-10 08:53:29 +03:00
23rd
627170520a Moved out mtp fields from CloudPasswordState to nested struct. 2022-05-08 23:13:45 +03:00
23rd
77d50d9177 Moved out template classes for local passcode from header. 2022-05-05 20:31:17 +03:00
23rd
546dfb08ef Moved out info in Folders settings from pinned content. 2022-05-05 16:52:09 +03:00
23rd
376b592e5a Replaced boxes for local passcode settings with section. 2022-05-05 16:52:09 +03:00
23rd
c27db754a7 Added initial implementation of first screen for local passcode. 2022-05-05 16:52:09 +03:00
23rd
5fb71cb165 Added ability to append pinned to bottom content to settings sections. 2022-05-05 16:52:09 +03:00
23rd
972666440e Added ability to remove previous sections from stack in info widget. 2022-05-05 16:52:09 +03:00
23rd
549d7c77e5 Added to settings support of showing back section from stack. 2022-05-05 16:51:17 +03:00
23rd
de3b30ed7d Added support of focus handle to sections of settings. 2022-05-05 16:51:17 +03:00
John Preston
f2b89445ae Allow playing single lottie icon repeatedly or once. 2022-05-04 11:39:53 +04:00
23rd
3ff4bf77e7 Removed repeated animation from some settings lottie icons. 2022-05-04 07:32:52 +03:00
John Preston
fc7d9b264f Add webview-debug-enabled option. 2022-05-03 23:30:54 +04:00
23rd
cd50008429 Moved plus icon to settings style file. 2022-05-03 21:59:38 +03:00
23rd
767459ab57 Slightly improved style of button in settings of blocked peers. 2022-05-03 21:59:38 +03:00
23rd
3b45a120e6 Slightly improved style of buttons and icons in Folders settings. 2022-05-03 21:59:38 +03:00
23rd
b04aaba8d0 Slightly improved style of box for edit folder. 2022-05-03 21:59:38 +03:00
23rd
8fae56bee8 Improved style of Folders settings. 2022-05-03 04:25:36 +03:00
23rd
1349989494 Moved settings of blocked peers to section. 2022-05-03 04:25:35 +03:00
23rd
639ed8b973 Added ability to append pinned to top content to settings sections. 2022-05-02 22:31:05 +03:00
23rd
3bdf1634a9 Added ability to copy phone number from main menu. 2022-04-28 17:41:34 +03:00
23rd
1878061c9a Fixed color of attention menu items for account buttons. 2022-04-28 17:16:58 +03:00
23rd
e37866d0b9 Added animated reactions in manage of groups / channels. 2022-04-19 09:39:00 +04:00
Nicholas Guriev
e99e35a12a Close restarting confirm box when cancelled
The regression seems introduced in commit 5718789d53.
2022-04-16 18:14:33 +04:00
John Preston
5cf3b621ee Beta version 3.6.3: Fix emoji in ReactionsSettingsBox on non-Retina. 2022-04-14 09:57:38 +04:00
23rd
59fc9d3bfd Replaced static reaction icon in settings with animated lottie. 2022-04-14 09:46:03 +04:00
John Preston
488f6412f2 Change phone number section instead of a box. 2022-04-13 15:06:24 +04:00
23rd
4216d72c67 Added ability to set favorite reaction from settings. 2022-04-13 15:06:23 +04:00
23rd
4304071d18 Added ability to configure quick action on double click. 2022-04-13 15:06:23 +04:00
John Preston
0615f21deb Allow editing general notification sound. 2022-04-06 19:23:41 +04:00
23rd
55864edb67 Refactored adding of sensitive menu items. 2022-04-04 17:15:45 +03:00
23rd
d9541b6a6e Unified general phrases for duration. 2022-04-01 15:53:58 +04:00
23rd
06d17c6b2c Changed color of some sensitive menu items to attention one. 2022-04-01 15:53:57 +04:00
23rd
c520cb777c Replaced Window::PeerMenuCallback with struct. 2022-04-01 15:53:57 +04:00
John Preston
aa7143a831 Allow adding Settings::Section-s without changing Type. 2022-04-01 15:53:23 +04:00
John Preston
5167eb47ae Add hardware acceleartion video decoding setting. 2022-03-30 15:26:34 +04:00
John Preston
a943a993cb Fix layout in the info edit page. 2022-03-21 09:37:30 +04:00
John Preston
4f44692ae8 Fix name elision in settings information edit. 2022-03-16 11:20:39 +04:00
John Preston
33d87a3ffe Remove unneeded divider from Advanced settings. 2022-03-16 11:06:44 +04:00
John Preston
13106d781e Fix icon for username edit in settings. 2022-03-16 09:48:21 +04:00
John Preston
435d451f3f Change the userpic locally while uploading. 2022-03-15 17:00:17 +04:00
John Preston
b8028886b0 Add upload photo button to Edit Info settings. 2022-03-15 16:35:28 +04:00
John Preston
f31be7784b Redesign edit account settings page. 2022-03-15 15:12:49 +04:00
23rd
3cb595c3c9 Added ability to set profile photo from camera. 2022-03-14 11:57:34 +03:00
John Preston
d1a913450a Allow using mono icons in experimental settings. 2022-03-14 10:20:36 +04:00
John Preston
32d09f189b Use rpl::empty instead of rpl::empty_value(). 2022-03-11 09:56:29 +04:00
John Preston
8259f74074 Fix notifications settings in dark system themes. 2022-03-08 18:20:02 +04:00
John Preston
1aa8029a8a Improve notification preview settings design. 2022-03-08 15:24:02 +04:00
John Preston
7e617b7f39 Fix camera preview in Calls Settings. 2022-03-07 12:33:48 +04:00
23rd
f469cab7b0 Added disable-autoplay-next option. 2022-03-05 12:40:49 +03:00
John Preston
a6d59fccf4 Update icons for folders. 2022-03-04 14:25:25 +04:00
23rd
b900ac2b1d Removed Window::SessionController from ManageDictionariesBox. 2022-03-04 11:25:10 +03:00
23rd
3ebb9af8f8 Removed Ui::hideSettingsAndLayer(). 2022-03-04 11:25:10 +03:00
John Preston
bcbd97e515 Fix restart confirmation box cancel. 2022-03-01 16:15:23 +03:00
John Preston
616d099c07 Copy t.me/+phonenumber link from Phone Number Privacy. 2022-03-01 15:30:55 +03:00
John Preston
667e2e697e Support emoji in account names. 2022-03-01 13:25:42 +03:00
23rd
d1bb87ccec Added ability to provide custom style to Settings::AddSubsectionTitle. 2022-03-01 12:52:31 +03:00
John Preston
2917a53b75 Beta version 3.5.3: Fix build with GCC. 2022-02-28 23:25:55 +03:00
23rd
df125bac19 Removed Ui::ConfirmDontWarnBox. 2022-02-28 09:08:01 +03:00
23rd
5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
23rd
d5a44a2ba4 Removed mutable lambdas from controller of privacy settings. 2022-02-28 08:08:32 +03:00
John Preston
dde4868540 Add phrases to lang.string. 2022-02-27 20:26:52 +03:00
John Preston
1710863231 Update some icons. 2022-02-27 20:26:52 +03:00
John Preston
91c46dbc85 Allow Info::Media::ListWidget use different data providers. 2022-02-25 19:41:15 +03:00
John Preston
ffd65e1fe4 Fix slide animations with new layer rounding. 2022-02-25 14:14:43 +03:00
John Preston
f5b8683b33 Add some icons to Advanced settings. 2022-02-25 14:14:43 +03:00
John Preston
3c2caeb43a Adjust Notifications settings to the mockup. 2022-02-25 14:14:43 +03:00
John Preston
6daa267329 Adjust privacy edit boxes to the mockup. 2022-02-25 14:14:42 +03:00
John Preston
bce19c7151 Adjust main menu accounts to the mockup. 2022-02-25 14:14:42 +03:00
John Preston
7c5d27d7ce Add "Telegram Features" to the main settings page. 2022-02-25 14:14:42 +03:00
John Preston
2e435f07a3 Make "Archived chats" a normal menu item. 2022-02-25 14:14:42 +03:00
John Preston
9c581d63ea Adjust main menu icons to the mockup. 2022-02-25 14:14:41 +03:00
John Preston
f57d21eaeb Add "Calls Settings" to the main settings section. 2022-02-25 14:14:41 +03:00
John Preston
9c903bacf2 Adjust main settings icons to the mockup. 2022-02-25 14:14:41 +03:00
John Preston
1468be0af4 Adjust main settings buttons geometry to the mockup. 2022-02-25 14:14:41 +03:00
John Preston
340db7662b Improve settings main cover. 2022-02-25 14:14:41 +03:00
John Preston
666251f23e Allow to set custom app icon on macOS. 2022-02-08 00:24:11 +03:00
John Preston
67c538ae8f Add AllowLinuxNvidiaOpenGL option. 2022-02-02 15:33:41 +03:00
23rd
37cd4f51eb Added view-profile-in-chats-list-context-menu option. 2022-02-01 18:48:02 +03:00
John Preston
ca21b7efae Allow disable Cmd+Q warning on macOS. 2022-02-01 00:43:20 +03:00
John Preston
17de379145 Fix document thumbnails on Retina screens. 2022-01-31 13:18:52 +03:00