2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

Remove some usages of App::main().

This commit is contained in:
John Preston
2020-06-10 22:08:17 +04:00
parent ea86433be5
commit ee43027bea
53 changed files with 518 additions and 429 deletions

View File

@@ -164,7 +164,7 @@ void SetupPrivacy(
add(
tr::lng_settings_forwards_privacy(),
Key::Forwards,
[=] { return std::make_unique<ForwardsPrivacyController>(session); });
[=] { return std::make_unique<ForwardsPrivacyController>(controller); });
add(
tr::lng_settings_profile_photo_privacy(),
Key::ProfilePhoto,