From 29432d5d6a793a3ebdd121bec82afd215aefdbf4 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 29 Sep 2018 09:53:30 +0300 Subject: [PATCH] Remove some unused themes code. --- .../SourceFiles/settings/settings_chat.cpp | 25 ------------------- .../window/themes/window_theme.cpp | 14 +---------- .../SourceFiles/window/themes/window_theme.h | 4 --- 3 files changed, 1 insertion(+), 42 deletions(-) diff --git a/Telegram/SourceFiles/settings/settings_chat.cpp b/Telegram/SourceFiles/settings/settings_chat.cpp index 471dd4336..72fecd6b9 100644 --- a/Telegram/SourceFiles/settings/settings_chat.cpp +++ b/Telegram/SourceFiles/settings/settings_chat.cpp @@ -710,29 +710,6 @@ void SetupChatBackground(not_null container) { }, adaptive->lifetime()); } -void SetupUseDefaultTheme(not_null container) { - using Update = const Window::Theme::BackgroundUpdate; - container->add( - object_ptr>( - container, - object_ptr