mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
chore: remove β from option
This commit is contained in:
parent
51122ab3ba
commit
e3ebb30518
1 changed files with 8 additions and 4 deletions
|
@ -48,6 +48,13 @@
|
||||||
|
|
||||||
class PainterHighQualityEnabler;
|
class PainterHighQualityEnabler;
|
||||||
|
|
||||||
|
rpl::producer<QString> asBeta(rpl::producer<QString> text) {
|
||||||
|
return std::move(text) | rpl::map([=](const QString &val)
|
||||||
|
{
|
||||||
|
return val + " β";
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
not_null<Ui::RpWidget*> AddInnerToggle(not_null<Ui::VerticalLayout*> container,
|
not_null<Ui::RpWidget*> AddInnerToggle(not_null<Ui::VerticalLayout*> container,
|
||||||
const style::SettingsButton &st,
|
const style::SettingsButton &st,
|
||||||
std::vector<not_null<Ui::AbstractCheckView*>> innerCheckViews,
|
std::vector<not_null<Ui::AbstractCheckView*>> innerCheckViews,
|
||||||
|
@ -1461,10 +1468,7 @@ void SetupMarks(not_null<Ui::VerticalLayout*> container) {
|
||||||
|
|
||||||
AddButtonWithIcon(
|
AddButtonWithIcon(
|
||||||
container,
|
container,
|
||||||
tr::ayu_ReplaceMarksWithIcons() | rpl::map([=](QString val)
|
tr::ayu_ReplaceMarksWithIcons(),
|
||||||
{
|
|
||||||
return val + " β";
|
|
||||||
}),
|
|
||||||
st::settingsButtonNoIcon
|
st::settingsButtonNoIcon
|
||||||
)->toggleOn(
|
)->toggleOn(
|
||||||
rpl::single(settings->replaceBottomInfoWithIcons)
|
rpl::single(settings->replaceBottomInfoWithIcons)
|
||||||
|
|
Loading…
Add table
Reference in a new issue