mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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
|
@ -90,7 +90,7 @@ void GiftCreditsBox(
|
||||||
peer->owner().customEmojiManager().registerInternalEmoji(
|
peer->owner().customEmojiManager().registerInternalEmoji(
|
||||||
st::topicButtonArrow,
|
st::topicButtonArrow,
|
||||||
st::channelEarnLearnArrowMargins,
|
st::channelEarnLearnArrowMargins,
|
||||||
false));
|
true));
|
||||||
auto link = tr::lng_credits_box_history_entry_gift_about_link(
|
auto link = tr::lng_credits_box_history_entry_gift_about_link(
|
||||||
lt_emoji,
|
lt_emoji,
|
||||||
rpl::single(arrow),
|
rpl::single(arrow),
|
||||||
|
|
|
@ -417,7 +417,7 @@ void InnerWidget::fill() {
|
||||||
session->data().customEmojiManager().registerInternalEmoji(
|
session->data().customEmojiManager().registerInternalEmoji(
|
||||||
st::topicButtonArrow,
|
st::topicButtonArrow,
|
||||||
st::channelEarnLearnArrowMargins,
|
st::channelEarnLearnArrowMargins,
|
||||||
false));
|
true));
|
||||||
const auto addAboutWithLearn = [&](const tr::phrase<lngtag_link> &text) {
|
const auto addAboutWithLearn = [&](const tr::phrase<lngtag_link> &text) {
|
||||||
auto label = Ui::CreateLabelWithCustomEmoji(
|
auto label = Ui::CreateLabelWithCustomEmoji(
|
||||||
container,
|
container,
|
||||||
|
|
|
@ -383,7 +383,7 @@ void FillBotUsepic(
|
||||||
bot->owner().customEmojiManager().registerInternalEmoji(
|
bot->owner().customEmojiManager().registerInternalEmoji(
|
||||||
st::topicButtonArrow,
|
st::topicButtonArrow,
|
||||||
st::channelEarnLearnArrowMargins,
|
st::channelEarnLearnArrowMargins,
|
||||||
false));
|
true));
|
||||||
auto aboutLabel = Ui::CreateLabelWithCustomEmoji(
|
auto aboutLabel = Ui::CreateLabelWithCustomEmoji(
|
||||||
box->verticalLayout(),
|
box->verticalLayout(),
|
||||||
tr::lng_allow_bot_webview_details(
|
tr::lng_allow_bot_webview_details(
|
||||||
|
|
|
@ -195,7 +195,7 @@ void AboutBox(
|
||||||
session->data().customEmojiManager().registerInternalEmoji(
|
session->data().customEmojiManager().registerInternalEmoji(
|
||||||
st::topicButtonArrow,
|
st::topicButtonArrow,
|
||||||
st::channelEarnLearnArrowMargins,
|
st::channelEarnLearnArrowMargins,
|
||||||
false));
|
true));
|
||||||
const auto available = box->width()
|
const auto available = box->width()
|
||||||
- rect::m::sum::h(st::boxRowPadding);
|
- rect::m::sum::h(st::boxRowPadding);
|
||||||
box->addRow(
|
box->addRow(
|
||||||
|
|
|
@ -513,7 +513,7 @@ void Business::setupContent() {
|
||||||
session->data().customEmojiManager().registerInternalEmoji(
|
session->data().customEmojiManager().registerInternalEmoji(
|
||||||
st::topicButtonArrow,
|
st::topicButtonArrow,
|
||||||
st::channelEarnLearnArrowMargins,
|
st::channelEarnLearnArrowMargins,
|
||||||
false));
|
true));
|
||||||
inner->add(object_ptr<Ui::DividerLabel>(
|
inner->add(object_ptr<Ui::DividerLabel>(
|
||||||
inner,
|
inner,
|
||||||
Ui::CreateLabelWithCustomEmoji(
|
Ui::CreateLabelWithCustomEmoji(
|
||||||
|
|
|
@ -1205,7 +1205,7 @@ void ReceiptCreditsBox(
|
||||||
session->data().customEmojiManager().registerInternalEmoji(
|
session->data().customEmojiManager().registerInternalEmoji(
|
||||||
st::topicButtonArrow,
|
st::topicButtonArrow,
|
||||||
st::channelEarnLearnArrowMargins,
|
st::channelEarnLearnArrowMargins,
|
||||||
false));
|
true));
|
||||||
auto link = tr::lng_credits_box_history_entry_gift_about_link(
|
auto link = tr::lng_credits_box_history_entry_gift_about_link(
|
||||||
lt_emoji,
|
lt_emoji,
|
||||||
rpl::single(arrow),
|
rpl::single(arrow),
|
||||||
|
@ -2157,7 +2157,7 @@ void AddWithdrawalWidget(
|
||||||
session->data().customEmojiManager().registerInternalEmoji(
|
session->data().customEmojiManager().registerInternalEmoji(
|
||||||
st::topicButtonArrow,
|
st::topicButtonArrow,
|
||||||
st::channelEarnLearnArrowMargins,
|
st::channelEarnLearnArrowMargins,
|
||||||
false));
|
true));
|
||||||
auto about = Ui::CreateLabelWithCustomEmoji(
|
auto about = Ui::CreateLabelWithCustomEmoji(
|
||||||
container,
|
container,
|
||||||
tr::lng_bot_earn_learn_credits_out_about(
|
tr::lng_bot_earn_learn_credits_out_about(
|
||||||
|
|
|
@ -132,7 +132,7 @@ InviteLinkSubscriptionToggle FillCreateInviteLinkSubscriptionToggle(
|
||||||
peer->owner().customEmojiManager().registerInternalEmoji(
|
peer->owner().customEmojiManager().registerInternalEmoji(
|
||||||
st::topicButtonArrow,
|
st::topicButtonArrow,
|
||||||
st::channelEarnLearnArrowMargins,
|
st::channelEarnLearnArrowMargins,
|
||||||
false));
|
true));
|
||||||
auto about = Ui::CreateLabelWithCustomEmoji(
|
auto about = Ui::CreateLabelWithCustomEmoji(
|
||||||
container,
|
container,
|
||||||
tr::lng_group_invite_subscription_about(
|
tr::lng_group_invite_subscription_about(
|
||||||
|
|
Loading…
Add table
Reference in a new issue