From c73127c35cb2ecb3e7720dbfb21c62edef3d3796 Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Thu, 21 Oct 2021 09:59:34 +0100 Subject: [PATCH] Remove unused code left from extracting ThemeChoicePanel (#7002) --- .../tabs/user/AppearanceUserSettingsTab.tsx | 50 +------------------ 1 file changed, 1 insertion(+), 49 deletions(-) diff --git a/src/components/views/settings/tabs/user/AppearanceUserSettingsTab.tsx b/src/components/views/settings/tabs/user/AppearanceUserSettingsTab.tsx index 404fa9504f..ed0092989b 100644 --- a/src/components/views/settings/tabs/user/AppearanceUserSettingsTab.tsx +++ b/src/components/views/settings/tabs/user/AppearanceUserSettingsTab.tsx @@ -35,19 +35,7 @@ import ThemeChoicePanel from '../../ThemeChoicePanel'; interface IProps { } -interface IThemeState { - theme: string; - useSystemTheme: boolean; -} - -export interface CustomThemeMessage { - isError: boolean; - text: string; -} - -interface IState extends IThemeState { - customThemeUrl: string; - customThemeMessage: CustomThemeMessage; +interface IState { useSystemFont: boolean; systemFont: string; showAdvanced: boolean; @@ -68,9 +56,6 @@ export default class AppearanceUserSettingsTab extends React.Component { this.setState({ layout: layout }); };