mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Removed text transform from update application button.
This commit is contained in:
parent
29a458c8a0
commit
3d0b139c40
2 changed files with 3 additions and 3 deletions
|
@ -121,7 +121,7 @@ Widget::BottomButton::BottomButton(
|
||||||
const style::icon &icon,
|
const style::icon &icon,
|
||||||
const style::icon &iconOver)
|
const style::icon &iconOver)
|
||||||
: RippleButton(parent, st.ripple)
|
: RippleButton(parent, st.ripple)
|
||||||
, _text(text.toUpper())
|
, _text(text)
|
||||||
, _st(st)
|
, _st(st)
|
||||||
, _icon(icon)
|
, _icon(icon)
|
||||||
, _iconOver(iconOver) {
|
, _iconOver(iconOver) {
|
||||||
|
@ -129,7 +129,7 @@ Widget::BottomButton::BottomButton(
|
||||||
}
|
}
|
||||||
|
|
||||||
void Widget::BottomButton::setText(const QString &text) {
|
void Widget::BottomButton::setText(const QString &text) {
|
||||||
_text = text.toUpper();
|
_text = text;
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -144,7 +144,7 @@ void SetupUpdate(not_null<Ui::VerticalLayout*> container) {
|
||||||
st::settingsButtonNoIcon);
|
st::settingsButtonNoIcon);
|
||||||
const auto update = Ui::CreateChild<Button>(
|
const auto update = Ui::CreateChild<Button>(
|
||||||
check.get(),
|
check.get(),
|
||||||
tr::lng_update_telegram() | Ui::Text::ToUpper(),
|
tr::lng_update_telegram(),
|
||||||
st::settingsUpdate);
|
st::settingsUpdate);
|
||||||
update->hide();
|
update->hide();
|
||||||
check->widthValue() | rpl::start_with_next([=](int width) {
|
check->widthValue() | rpl::start_with_next([=](int width) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue