Move global privacy setting down.

This commit is contained in:
John Preston 2021-12-02 13:35:38 +04:00
parent c4c234f0d3
commit caaeff32c5
2 changed files with 1 additions and 5 deletions

View File

@ -782,10 +782,6 @@ private:
PhotoData *photo,
DocumentData *document);
void folderApplyFields(
not_null<Folder*> folder,
const MTPDfolder &data);
void setPinnedFromDialog(const Dialogs::Key &key, bool pinned);
NotifySettings &defaultNotifySettings(not_null<const PeerData*> peer);

View File

@ -945,7 +945,6 @@ void PrivacySecurity::setupContent(
};
SetupPrivacy(controller, content, trigger());
SetupArchiveAndMute(controller, content);
SetupSessionsList(controller, content, trigger(), [=](Type type) {
_showOther.fire_copy(type);
});
@ -956,6 +955,7 @@ void PrivacySecurity::setupContent(
#else // !OS_MAC_STORE && !OS_WIN_STORE
AddDivider(content);
#endif // !OS_MAC_STORE && !OS_WIN_STORE
SetupArchiveAndMute(controller, content);
SetupSelfDestruction(controller, content, trigger());
AddDivider(content);
SetupBotsAndWebsites(controller, content);