From 79edceca8943e3fe21526df840c2e72c01a6dac6 Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Tue, 19 Oct 2021 15:23:12 +0100 Subject: [PATCH] Remove unused fields --- src/components/views/settings/FontScalingPanel.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/components/views/settings/FontScalingPanel.tsx b/src/components/views/settings/FontScalingPanel.tsx index dfd239c38c..aabfc1c9a4 100644 --- a/src/components/views/settings/FontScalingPanel.tsx +++ b/src/components/views/settings/FontScalingPanel.tsx @@ -31,19 +31,12 @@ import { replaceableComponent } from "../../../utils/replaceableComponent"; interface IProps { } -export interface CustomThemeMessage { - isError: boolean; - text: string; -} - interface IState { // String displaying the current selected fontSize. // Needs to be string for things like '17.' without // trailing 0s. fontSize: string; useCustomFontSize: boolean; - useSystemFont: boolean; - systemFont: string; layout: Layout; // User profile data for the message preview userId?: string; @@ -63,8 +56,6 @@ export default class FontScalingPanel extends React.Component { this.state = { fontSize: (SettingsStore.getValue("baseFontSize", null) + FontWatcher.SIZE_DIFF).toString(), useCustomFontSize: SettingsStore.getValue("useCustomFontSize"), - useSystemFont: SettingsStore.getValue("useSystemFont"), - systemFont: SettingsStore.getValue("systemFont"), layout: SettingsStore.getValue("layout"), userId: null, displayName: null,