mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Improve edit privacy box design.
Also move calls peer-to-peer settings to EditPrivacyBox.
This commit is contained in:
@@ -45,11 +45,11 @@ public:
|
||||
MTPInputPrivacyKey apiKey() override;
|
||||
|
||||
QString title() override;
|
||||
QString description() override;
|
||||
QString warning() override;
|
||||
QString exceptionLinkText(Exception exception, int count) override;
|
||||
LangKey optionsTitleKey() override;
|
||||
rpl::producer<QString> warning() override;
|
||||
LangKey exceptionButtonTextKey(Exception exception) override;
|
||||
QString exceptionBoxTitle(Exception exception) override;
|
||||
QString exceptionsDescription() override;
|
||||
rpl::producer<QString> exceptionsDescription() override;
|
||||
|
||||
void confirmSave(bool someAreDisallowed, FnMut<void()> saveCallback) override;
|
||||
|
||||
@@ -65,10 +65,10 @@ public:
|
||||
|
||||
QString title() override;
|
||||
bool hasOption(Option option) override;
|
||||
QString description() override;
|
||||
QString exceptionLinkText(Exception exception, int count) override;
|
||||
LangKey optionsTitleKey() override;
|
||||
LangKey exceptionButtonTextKey(Exception exception) override;
|
||||
QString exceptionBoxTitle(Exception exception) override;
|
||||
QString exceptionsDescription() override;
|
||||
rpl::producer<QString> exceptionsDescription() override;
|
||||
|
||||
};
|
||||
|
||||
@@ -81,10 +81,13 @@ public:
|
||||
MTPInputPrivacyKey apiKey() override;
|
||||
|
||||
QString title() override;
|
||||
QString description() override;
|
||||
QString exceptionLinkText(Exception exception, int count) override;
|
||||
LangKey optionsTitleKey() override;
|
||||
LangKey exceptionButtonTextKey(Exception exception) override;
|
||||
QString exceptionBoxTitle(Exception exception) override;
|
||||
QString exceptionsDescription() override;
|
||||
rpl::producer<QString> exceptionsDescription() override;
|
||||
|
||||
Fn<void()> setupAdditional(
|
||||
not_null<Ui::VerticalLayout*> container) override;
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user