Commit Graph

1095 Commits

Author SHA1 Message Date
23rd ebf456abe4 Added initial support of lists for credits history entries in bot earn. 2024-06-30 21:16:08 +04:00
23rd b5bd0f53ad Added support of new statuses of credits history entries. 2024-06-30 21:16:08 +04:00
23rd d0a030ab58 Added support of minimal amount of credits to withdrawal button. 2024-06-30 21:16:08 +04:00
23rd 712c06756e Added icon to label in withdrawal button from bot earn section. 2024-06-30 21:16:08 +04:00
23rd 301ffc15ef Added countdown label to withdrawal button in bot earn section. 2024-06-30 21:16:07 +04:00
23rd 3c4a711b5d Added withdrawal button to bot earn sections. 2024-06-30 21:16:07 +04:00
23rd 989145726d Made withdrawal button handler in earn sections more universal. 2024-06-30 21:16:07 +04:00
23rd 9eebd3b514 Added statistical chart and balance overview to bot earn section. 2024-06-30 21:16:07 +04:00
23rd b5d5ff3cbb Improved naming of classes for channel earn. 2024-06-30 21:16:07 +04:00
23rd c5ba0fa705 Added initial structure for bot earn data. 2024-06-30 21:16:07 +04:00
23rd 4a60c57661 Added dummy files of bot earn section. 2024-06-30 21:16:07 +04:00
John Preston 501cae2200 Change InputField::font to InputField::style in styles. 2024-06-15 20:56:24 +04:00
23rd 10f7b985c7 Added decimal separators to count of members in shared similar channels. 2024-06-13 18:44:33 +04:00
23rd 5db2821f8c Removed unused refund api support for credits. 2024-06-06 09:12:23 +04:00
23rd 9e3e7265d2 Improved display of cached message preview in profile sections. 2024-06-06 09:12:23 +04:00
23rd 4f4d216987 Fixed display of button in channel earn section when balance is low. 2024-06-03 23:00:48 +04:00
John Preston 400f0f8785 Empty line between description and ID. 2024-06-01 22:09:01 +04:00
John Preston f4abe37dff Display peer IDs with delimeters. 2024-06-01 21:53:41 +04:00
23rd 57ecc2be1d Improved style of list of credits history entries for refunded entry. 2024-05-30 21:35:10 +04:00
23rd d3a01b6235 Improved style of list of credits history entries for entry photo. 2024-05-30 21:35:10 +04:00
23rd be099880d8 Added initial ability to claim refund credits from history entries list. 2024-05-30 21:35:08 +04:00
23rd 7d75c25214 Added box for small balance of credits. 2024-05-30 21:35:08 +04:00
23rd 5defb9fb17 Fixed display of credit spending. 2024-05-30 21:35:08 +04:00
23rd 58da617e3f Added description and optional photo to credits receipts. 2024-05-30 21:35:08 +04:00
23rd 7194781bb8 Added api support for premium bot peer type for credits history entries. 2024-05-30 21:35:07 +04:00
23rd d1e914fb30 Added initial implementation of box for credits history entries. 2024-05-30 21:35:07 +04:00
23rd 43cb315f47 Replaced PeerId with BareId in credits history entries. 2024-05-30 21:35:07 +04:00
23rd dcc52a7333 Moved out painting of userpic for credits entries to single place. 2024-05-30 21:35:07 +04:00
John Preston 5adde6c93a Fix build on Windows. 2024-05-30 21:35:07 +04:00
23rd 154fe63b43 Implemented list of credit history entries. 2024-05-30 21:35:06 +04:00
23rd bc7aa91fbb Removed redundant constructor from Ui::Premium::TopBar. 2024-05-30 21:35:06 +04:00
John Preston 787cf7853e Implement simple chats search bar. 2024-05-30 21:35:06 +04:00
John Preston d1106e5ae6 Check effects availability in all SendMenu-s. 2024-05-30 21:35:05 +04:00
John Preston a60783eae3 Implement preview top and bottom. 2024-05-28 21:42:00 +04:00
John Preston db486e957c Fix group/channel Appearance button style. 2024-05-24 12:55:48 +04:00
23rd c4f0db5bc5 Fixed possible crash on slow resolving message from personal channel. 2024-05-04 18:13:30 +04:00
23rd 1709fcd0df Guarded personal channel info from possible crash on deleting message. 2024-05-03 21:04:06 +04:00
23rd ab85d18cc8 Added support of personal channel with message. 2024-05-02 04:09:25 +03:00
John Preston 12a24dd473 Fix possible crash in common groups list.
Currently Data::Session::processChat() may change adminRights(),
that may change Data::CanSendAnyOf(peer, ...), that may lead to
Window::SessionController::updateThirdColumnToCurrentChat() call,
that destroys current third column to replace it with another one.

If common groups list was opened in the third column this will crash.

Fixes #27640.
2024-05-01 17:52:40 +04:00
23rd ef8c07e6eb Added ability to translate selected text in profile section. 2024-04-30 17:35:34 +03:00
23rd e6c22ec1ca Added api support for custom emoji in polls. 2024-04-26 20:12:29 +04:00
23rd 9fcb5d6f31 Added emoji button to input field for peer title edit. 2024-04-26 11:21:41 +04:00
23rd 804991a69c Added universal duration to styles. 2024-04-26 11:21:41 +04:00
John Preston 10c427127e Fix accidental search focusing. 2024-04-26 11:10:12 +04:00
23rd a86e7f035f Slightly improved style of inner box for channel earn history entries. 2024-04-23 19:17:41 +04:00
John Preston a88770a8ec Don't close recommendations. 2024-04-23 19:13:47 +04:00
John Preston 645ad5e1bd Update pinned icon in stories list. 2024-04-23 19:13:47 +04:00
John Preston 9036e9e8e3 Show pinned icon in stories. 2024-04-23 19:13:47 +04:00
John Preston 468d8b04d6 Implement stories pin-to-top. 2024-04-23 19:13:47 +04:00
John Preston d33e3dc13a Rename Story::pinned to Story::inProfile. 2024-04-23 19:13:46 +04:00