2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Moved out common default style entries from settings.

This commit is contained in:
23rd
2023-11-15 03:27:13 +03:00
parent acb1a7ccf2
commit 819020e515
39 changed files with 103 additions and 126 deletions

View File

@@ -585,7 +585,7 @@ object_ptr<Ui::RpWidget> PhoneNumberPrivacyController::setupMiddleWidget(
addOption(Option::Contacts);
Ui::AddSkip(
container,
st::settingsSectionSkip + st::settingsPrivacySkipTop);
st::defaultVerticalListSkip + st::settingsPrivacySkipTop);
Ui::AddDivider(container);
using namespace rpl::mappers;
@@ -917,7 +917,7 @@ object_ptr<Ui::RpWidget> ForwardsPrivacyController::setupAboveWidget(
object_ptr<Ui::RpWidget>(parent),
style::margins(
0,
st::settingsSectionSkip,
st::defaultVerticalListSkip,
0,
st::settingsPrivacySkipTop));
const auto widget = result->entity();