2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Added subscription date to credits history entries.

This commit is contained in:
23rd
2024-08-09 19:32:22 +03:00
committed by John Preston
parent d1313f38eb
commit cc3baad377
5 changed files with 12 additions and 2 deletions

View File

@@ -549,8 +549,9 @@ void ReceiptCreditsBox(
box,
object_ptr<Ui::FlatLabel>(
box,
rpl::single(
!e.title.isEmpty()
rpl::single(!e.subscriptionUntil.isNull()
? tr::lng_credits_box_history_entry_subscription(tr::now)
: !e.title.isEmpty()
? e.title
: e.gift
? tr::lng_credits_box_history_entry_gift_name(tr::now)