mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Replaced full profile with short info on open from paid reactions box.
This commit is contained in:
@@ -10,6 +10,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "api/api_credits.h"
|
||||
#include "api/api_global_privacy.h"
|
||||
#include "apiwrap.h"
|
||||
#include "boxes/peers/prepare_short_info_box.h"
|
||||
#include "boxes/send_credits_box.h" // CreditsEmojiSmall.
|
||||
#include "core/ui_integration.h" // TextContext.
|
||||
#include "data/components/credits.h"
|
||||
@@ -191,7 +192,7 @@ void ShowPaidReactionDetails(
|
||||
? peer->shortName()
|
||||
: tr::lng_paid_react_anonymous(tr::now);
|
||||
const auto open = [=] {
|
||||
controller->showPeerInfo(peer);
|
||||
controller->uiShow()->show(PrepareShortInfoBox(peer, controller));
|
||||
};
|
||||
top.push_back({
|
||||
.name = name,
|
||||
|
||||
Reference in New Issue
Block a user