42 Commits

Author SHA1 Message Date
23rd 494833236f Defaulted RoundButton text transform to no-transform. 2026-04-06 16:58:16 +03:00
23rd 7c26a251cf Added text transform to RoundButton as mandatory argument. 2026-04-06 16:58:15 +03:00
John Preston 08a979e638 Use more simple tr::... text helpers. 2025-12-15 21:40:54 +04:00
23rd eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
John Preston 313ae0f86c Remove CenterWrap layout. 2025-08-18 17:55:20 +04:00
John Preston b2fb2d5821 Attempt to fix the naturalWidth feature. 2025-08-13 11:18:34 +04:00
Ilya Fedin 00e785a3af Remove unused variables 2023-12-31 22:03:57 +00:00
23rd f6cb9072d2 Moved AddSkip and AddDivier from Settings namespace to separate module. 2023-11-15 03:30:04 +03:00
John Preston 311691a3bc Use FlatLabel::textMaxWidth. 2023-08-17 13:54:53 +02:00
John Preston f0955f2021 Add emoji-status disclaimer for unknown peers. 2022-09-06 11:20:55 +04:00
John Preston f7885da7dd Support additional saved payment methods. 2022-07-26 20:12:14 +03:00
John Preston ff55918da0 Parse link entities into Data::Invoice. 2022-07-26 20:12:13 +03:00
John Preston ff3bfd3fba Make links in the invoice description clickable. 2022-06-12 16:51:37 +04:00
John Preston 1710863231 Update some icons. 2022-02-27 20:26:52 +03:00
John Preston 9c903bacf2 Adjust main settings icons to the mockup. 2022-02-25 14:14:41 +03:00
John Preston 19ce1edc16 Use base::SafeRound instead of std::round.
Previous assertion violations because of NaN from std::round were
in video streaming, see commits 27d58ba07b, 8f5830d520.

Now the crashes happened in the ConvertScale() call from a background
thread when preparing an image from clipboard for sending to a chat.
2021-09-27 12:13:57 +04:00
23rd 900a7d0b2b Appended references to const auto types in loop to prevent copying.
Suggested by Apple Clang.
2021-09-09 16:32:04 +03:00
23rd 86aaa9673d Moved countries to singleton. 2021-08-29 21:01:10 +03:00
23rd df02bbb0a3 Moved countries from Data to Countries namespace. 2021-08-29 20:39:43 +03:00
23rd 024bb5e54f Moved App::formatPhone to td_ui. 2021-07-26 17:38:51 +03:00
Ilya Fedin 79cc797aff Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
John Preston d984c5924d Fix crash in invoice view.
Fixes #16210.
2021-04-27 22:18:35 +04:00
John Preston 68e35b232d Fix updating langs in payments form buttons. 2021-04-26 10:51:10 +04:00
John Preston bee6a1dc06 Second click on Tips button resets tips to $0. 2021-04-13 19:04:27 +04:00
John Preston 0ead0879d7 Support blocking progress in payment panel. 2021-04-12 19:24:36 +04:00
John Preston ee098d00ad Add better error reporting to payments. 2021-04-06 18:41:16 +04:00
John Preston b6c86fd298 Add nice tips buttons. 2021-04-06 18:41:16 +04:00
John Preston 1cc1f380d0 Implement a nice money input field. 2021-04-06 18:41:16 +04:00
John Preston f09a468a7c Improve design of payment bottom buttons. 2021-04-06 18:41:16 +04:00
John Preston 619f70ab22 Improve design of shipping option selection. 2021-04-06 18:41:16 +04:00
John Preston 8cac76931e Support adding tips in payments. 2021-04-06 18:41:15 +04:00
John Preston 00c915e58d Add support for inline invoices. 2021-04-06 18:41:15 +04:00
John Preston 3ec3f6484f Update API scheme to layer 128. 2021-04-06 18:41:15 +04:00
John Preston c7a1771dec Simple receipt viewing. 2021-04-06 18:41:15 +04:00
John Preston 0af6c4b0b6 Add local validation for card information. 2021-04-06 18:41:15 +04:00
John Preston 47fdef1e38 Improve checkout information / card page design. 2021-04-06 18:41:15 +04:00
John Preston fafea73ea7 Improve checkout main page design. 2021-04-06 18:41:15 +04:00
John Preston 56031a6402 Handle native / non-native payment methods (same way). 2021-04-06 18:41:15 +04:00
John Preston 5e4bc200c2 Support entering card details natively. 2021-04-06 18:41:15 +04:00
John Preston 212497413c Show some payment errors, focus fields. 2021-04-06 18:41:15 +04:00
John Preston 0d44736575 First full-featured version of payments, no design. 2021-04-06 18:41:15 +04:00
John Preston 4c707bff29 Start proper payments processing. 2021-04-06 18:41:15 +04:00