mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 05:07:10 +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;
|
||||
|
||||
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,
|
||||
const style::SettingsButton &st,
|
||||
std::vector<not_null<Ui::AbstractCheckView*>> innerCheckViews,
|
||||
|
@ -1461,10 +1468,7 @@ void SetupMarks(not_null<Ui::VerticalLayout*> container) {
|
|||
|
||||
AddButtonWithIcon(
|
||||
container,
|
||||
tr::ayu_ReplaceMarksWithIcons() | rpl::map([=](QString val)
|
||||
{
|
||||
return val + " β";
|
||||
}),
|
||||
tr::ayu_ReplaceMarksWithIcons(),
|
||||
st::settingsButtonNoIcon
|
||||
)->toggleOn(
|
||||
rpl::single(settings->replaceBottomInfoWithIcons)
|
||||
|
|
Loading…
Add table
Reference in a new issue