mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 15:17:07 +02:00
Fixed text color of custom icon in some phrases with links.
This commit is contained in:
parent
6d1e421ad7
commit
c3f354826d
7 changed files with 8 additions and 8 deletions
Telegram/SourceFiles
boxes
info/channel_statistics/earn
inline_bots
menu
settings
ui/boxes
|
@ -90,7 +90,7 @@ void GiftCreditsBox(
|
|||
peer->owner().customEmojiManager().registerInternalEmoji(
|
||||
st::topicButtonArrow,
|
||||
st::channelEarnLearnArrowMargins,
|
||||
false));
|
||||
true));
|
||||
auto link = tr::lng_credits_box_history_entry_gift_about_link(
|
||||
lt_emoji,
|
||||
rpl::single(arrow),
|
||||
|
|
|
@ -417,7 +417,7 @@ void InnerWidget::fill() {
|
|||
session->data().customEmojiManager().registerInternalEmoji(
|
||||
st::topicButtonArrow,
|
||||
st::channelEarnLearnArrowMargins,
|
||||
false));
|
||||
true));
|
||||
const auto addAboutWithLearn = [&](const tr::phrase<lngtag_link> &text) {
|
||||
auto label = Ui::CreateLabelWithCustomEmoji(
|
||||
container,
|
||||
|
|
|
@ -383,7 +383,7 @@ void FillBotUsepic(
|
|||
bot->owner().customEmojiManager().registerInternalEmoji(
|
||||
st::topicButtonArrow,
|
||||
st::channelEarnLearnArrowMargins,
|
||||
false));
|
||||
true));
|
||||
auto aboutLabel = Ui::CreateLabelWithCustomEmoji(
|
||||
box->verticalLayout(),
|
||||
tr::lng_allow_bot_webview_details(
|
||||
|
|
|
@ -195,7 +195,7 @@ void AboutBox(
|
|||
session->data().customEmojiManager().registerInternalEmoji(
|
||||
st::topicButtonArrow,
|
||||
st::channelEarnLearnArrowMargins,
|
||||
false));
|
||||
true));
|
||||
const auto available = box->width()
|
||||
- rect::m::sum::h(st::boxRowPadding);
|
||||
box->addRow(
|
||||
|
|
|
@ -513,7 +513,7 @@ void Business::setupContent() {
|
|||
session->data().customEmojiManager().registerInternalEmoji(
|
||||
st::topicButtonArrow,
|
||||
st::channelEarnLearnArrowMargins,
|
||||
false));
|
||||
true));
|
||||
inner->add(object_ptr<Ui::DividerLabel>(
|
||||
inner,
|
||||
Ui::CreateLabelWithCustomEmoji(
|
||||
|
|
|
@ -1205,7 +1205,7 @@ void ReceiptCreditsBox(
|
|||
session->data().customEmojiManager().registerInternalEmoji(
|
||||
st::topicButtonArrow,
|
||||
st::channelEarnLearnArrowMargins,
|
||||
false));
|
||||
true));
|
||||
auto link = tr::lng_credits_box_history_entry_gift_about_link(
|
||||
lt_emoji,
|
||||
rpl::single(arrow),
|
||||
|
@ -2157,7 +2157,7 @@ void AddWithdrawalWidget(
|
|||
session->data().customEmojiManager().registerInternalEmoji(
|
||||
st::topicButtonArrow,
|
||||
st::channelEarnLearnArrowMargins,
|
||||
false));
|
||||
true));
|
||||
auto about = Ui::CreateLabelWithCustomEmoji(
|
||||
container,
|
||||
tr::lng_bot_earn_learn_credits_out_about(
|
||||
|
|
|
@ -132,7 +132,7 @@ InviteLinkSubscriptionToggle FillCreateInviteLinkSubscriptionToggle(
|
|||
peer->owner().customEmojiManager().registerInternalEmoji(
|
||||
st::topicButtonArrow,
|
||||
st::channelEarnLearnArrowMargins,
|
||||
false));
|
||||
true));
|
||||
auto about = Ui::CreateLabelWithCustomEmoji(
|
||||
container,
|
||||
tr::lng_group_invite_subscription_about(
|
||||
|
|
Loading…
Add table
Reference in a new issue