From 568325f201fbef3b3d7cfd599193406e5079297e Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 24 Mar 2020 11:26:08 +0400 Subject: [PATCH] Show folders in settings async. --- .../SourceFiles/settings/settings_common.cpp | 28 +++++++++------ .../SourceFiles/settings/settings_common.h | 6 ++++ .../SourceFiles/settings/settings_main.cpp | 35 +++++++++++++++---- 3 files changed, 53 insertions(+), 16 deletions(-) diff --git a/Telegram/SourceFiles/settings/settings_common.cpp b/Telegram/SourceFiles/settings/settings_common.cpp index 6acf33b3d..6f7476fc2 100644 --- a/Telegram/SourceFiles/settings/settings_common.cpp +++ b/Telegram/SourceFiles/settings/settings_common.cpp @@ -80,21 +80,19 @@ void AddDividerText( st::settingsDividerLabelPadding)); } -not_null AddButton( - not_null container, +object_ptr