mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 07:33:52 +02:00
Move add exceptions button to the top.
This commit is contained in:
parent
570ab663b7
commit
2379812890
1 changed files with 10 additions and 10 deletions
|
@ -545,6 +545,11 @@ void EditFilterBox(
|
||||||
AddSkip(content);
|
AddSkip(content);
|
||||||
AddSubsectionTitle(content, tr::lng_filters_include());
|
AddSubsectionTitle(content, tr::lng_filters_include());
|
||||||
|
|
||||||
|
const auto includeAdd = AddButton(
|
||||||
|
content,
|
||||||
|
tr::lng_filters_add_chats() | Ui::Text::ToUpper(),
|
||||||
|
st::settingsUpdate);
|
||||||
|
|
||||||
const auto include = SetupChatsPreview(
|
const auto include = SetupChatsPreview(
|
||||||
content,
|
content,
|
||||||
data,
|
data,
|
||||||
|
@ -552,11 +557,6 @@ void EditFilterBox(
|
||||||
kTypes,
|
kTypes,
|
||||||
&Data::ChatFilter::always);
|
&Data::ChatFilter::always);
|
||||||
|
|
||||||
const auto includeAdd = AddButton(
|
|
||||||
content,
|
|
||||||
tr::lng_filters_add_chats() | Ui::Text::ToUpper(),
|
|
||||||
st::settingsUpdate);
|
|
||||||
|
|
||||||
AddSkip(content);
|
AddSkip(content);
|
||||||
content->add(
|
content->add(
|
||||||
object_ptr<Ui::FlatLabel>(
|
object_ptr<Ui::FlatLabel>(
|
||||||
|
@ -569,6 +569,11 @@ void EditFilterBox(
|
||||||
|
|
||||||
AddSubsectionTitle(content, tr::lng_filters_exclude());
|
AddSubsectionTitle(content, tr::lng_filters_exclude());
|
||||||
|
|
||||||
|
const auto excludeAdd = AddButton(
|
||||||
|
content,
|
||||||
|
tr::lng_filters_remove_chats() | Ui::Text::ToUpper(),
|
||||||
|
st::settingsUpdate);
|
||||||
|
|
||||||
const auto exclude = SetupChatsPreview(
|
const auto exclude = SetupChatsPreview(
|
||||||
content,
|
content,
|
||||||
data,
|
data,
|
||||||
|
@ -576,11 +581,6 @@ void EditFilterBox(
|
||||||
kExcludeTypes,
|
kExcludeTypes,
|
||||||
&Data::ChatFilter::never);
|
&Data::ChatFilter::never);
|
||||||
|
|
||||||
const auto excludeAdd = AddButton(
|
|
||||||
content,
|
|
||||||
tr::lng_filters_remove_chats() | Ui::Text::ToUpper(),
|
|
||||||
st::settingsUpdate);
|
|
||||||
|
|
||||||
AddSkip(content);
|
AddSkip(content);
|
||||||
content->add(
|
content->add(
|
||||||
object_ptr<Ui::FlatLabel>(
|
object_ptr<Ui::FlatLabel>(
|
||||||
|
|
Loading…
Add table
Reference in a new issue