mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Don't force toUpper in CustomEmojiTextBadge.
This commit is contained in:
@@ -380,7 +380,7 @@ void MessagesUi::setupBadges() {
|
|||||||
auto helper = Ui::Text::CustomEmojiHelper();
|
auto helper = Ui::Text::CustomEmojiHelper();
|
||||||
const auto liveText = helper.paletteDependent(
|
const auto liveText = helper.paletteDependent(
|
||||||
Ui::Text::CustomEmojiTextBadge(
|
Ui::Text::CustomEmojiTextBadge(
|
||||||
tr::lng_video_stream_live(tr::now),
|
tr::lng_video_stream_live(tr::now).toUpper(),
|
||||||
st::groupCallMessageBadge,
|
st::groupCallMessageBadge,
|
||||||
st::groupCallMessageBadgeMargin));
|
st::groupCallMessageBadgeMargin));
|
||||||
_liveBadge.setMarkedText(
|
_liveBadge.setMarkedText(
|
||||||
|
|||||||
@@ -549,7 +549,7 @@ void Header::setVideoStreamViewers(rpl::producer<int> viewers) {
|
|||||||
auto helper = Ui::Text::CustomEmojiHelper();
|
auto helper = Ui::Text::CustomEmojiHelper();
|
||||||
const auto badge = helper.paletteDependent(
|
const auto badge = helper.paletteDependent(
|
||||||
Ui::Text::CustomEmojiTextBadge(
|
Ui::Text::CustomEmojiTextBadge(
|
||||||
tr::lng_video_stream_live(tr::now),
|
tr::lng_video_stream_live(tr::now).toUpper(),
|
||||||
st::groupCallMessageBadge,
|
st::groupCallMessageBadge,
|
||||||
st::groupCallMessageBadgeMargin));
|
st::groupCallMessageBadgeMargin));
|
||||||
const auto context = helper.context();
|
const auto context = helper.context();
|
||||||
|
|||||||
@@ -326,7 +326,7 @@ void AboutRatingBox(
|
|||||||
const QString &text,
|
const QString &text,
|
||||||
const style::RoundButton &st) {
|
const style::RoundButton &st) {
|
||||||
return helper.paletteDependent(
|
return helper.paletteDependent(
|
||||||
Text::CustomEmojiTextBadge(text, st));
|
Text::CustomEmojiTextBadge(text.toUpper(), st));
|
||||||
};
|
};
|
||||||
const auto makeActive = [&](const QString &text) {
|
const auto makeActive = [&](const QString &text) {
|
||||||
return makeBadge(text, st::customEmojiTextBadge);
|
return makeBadge(text, st::customEmojiTextBadge);
|
||||||
|
|||||||
+1
-1
Submodule Telegram/lib_ui updated: 894b45958d...07bc368f17
Reference in New Issue
Block a user