Commit Graph

605 Commits

Author SHA1 Message Date
John Preston 368bc283a1 Don't use Ui::Text::String copy construct/assign. 2022-07-26 20:12:07 +03:00
John Preston fc8ea688a3 Update profile badges order. 2022-06-23 17:53:36 +04:00
John Preston 1b9232e28d Always show premium badge in support mode. 2022-06-20 11:13:39 +04:00
23rd 7b00671ccf Moved out all values of premium limits to single place. 2022-06-16 13:29:37 +03:00
John Preston 145d112982 Fix build with GCC. 2022-06-15 23:25:51 +04:00
John Preston 01bcdf10ee Add arrows to move in premium previews box. 2022-06-15 19:31:13 +04:00
John Preston 60d998bf36 Fix build on Linux. 2022-06-14 21:27:50 +04:00
23rd 13146e9c06 Replaced use of raw MTP* bot commands with new transitional classes. 2022-06-14 18:51:18 +04:00
23rd 5f8608ed90 Moved out BotCommand struct to separated file. 2022-06-14 18:45:12 +04:00
23rd 629574685e Fixed display of most of simple toasts in corresponding window. 2022-06-14 14:24:21 +03:00
23rd 1d475ee727 Slightly optimized includes in application.h. 2022-06-12 16:07:41 +03:00
John Preston 1b604bed0b Fix bottom shadow in premium settings. 2022-06-10 12:05:16 +04:00
23rd bfe873e91c Provided session controller to AddBotToGroupBoxController. 2022-06-09 08:19:11 +03:00
23rd 43c0197445 Removed Ui::hideLayer from places that can be in non-primary windows. 2022-06-09 07:06:01 +03:00
23rd fe2455dea6 Moved copy link of public user from context menu to button in profile. 2022-06-09 00:45:04 +03:00
John Preston 916f86b401 Don't show premium star when premium unavailable. 2022-06-08 16:53:16 +04:00
John Preston df17f20a47 Support attach bot menu / reload / settings. 2022-06-03 20:07:33 +04:00
John Preston b023044cc8 Handle click on premium star in profile. 2022-06-03 16:11:44 +04:00
John Preston de31c1cf0c Subscription status display. 2022-06-02 17:30:01 +04:00
John Preston 5bc072de07 Support premium bio (with links and x2 length). 2022-06-01 11:59:14 +04:00
John Preston 8ca2f6a444 Simplify Info::Profile::Cover code, remove toggling. 2022-06-01 11:59:14 +04:00
John Preston c0664d2d81 Prevent activating chats search when in Settings. 2022-05-24 11:25:49 +04:00
John Preston 490f6f7e50 Display premium / fake / scam badge in group members. 2022-05-24 11:25:49 +04:00
23rd c123f9e119 Redirected wheel events from custom top bar to section content. 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 62f42eabb0 Allow layers with fixed-bottom to stick-to-bottom. 2022-05-23 15:45:43 +04: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 6a8ccde527 Added ability to set padding for background in Info::ContentWidget. 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 001aba4791 Added support of empty top bar to Info::WrapWidget. 2022-05-23 13:37:02 +03:00
23rd ef3e139b85 Added padding to info layer sections with pinned to bottom content. 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 7fb99319bb Fix repeated subscriptions on layer wrapping type change. 2022-05-23 14:35:39 +04: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
23rd f3ca4f45ea Added bottom fade shadow to info sections with pinned bottom content. 2022-05-20 13:18:22 +03:00
John Preston 22613fc204 Show only one placeholder for premium reactions. 2022-05-19 17:27:04 +04:00
John Preston 739123dedc Implement simple premium limits boxes. 2022-05-19 17:27:02 +04:00
John Preston d87c9c72fb Update API scheme on layer 142: Premium reactions. 2022-05-19 17:27:01 +04:00
John Preston fc7f1991dd Allow more attempts to finalize section geometry. 2022-05-12 14:43:24 +04:00
23rd 94d943f3af Fixed style of icons in info peer box. 2022-05-10 08:53:31 +03:00
23rd a72953411b Added step section of email confirm 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 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 276fe2169a Use SeparatePanel / ShowMultilineToast from lib_ui. 2022-05-03 14:52:08 +04:00