Remove unused fields

pull/21833/head
Andy Balaam 2021-10-19 15:23:12 +01:00
parent 4ad32b16ea
commit 79edceca89
1 changed files with 0 additions and 9 deletions

View File

@ -31,19 +31,12 @@ import { replaceableComponent } from "../../../utils/replaceableComponent";
interface IProps { interface IProps {
} }
export interface CustomThemeMessage {
isError: boolean;
text: string;
}
interface IState { interface IState {
// String displaying the current selected fontSize. // String displaying the current selected fontSize.
// Needs to be string for things like '17.' without // Needs to be string for things like '17.' without
// trailing 0s. // trailing 0s.
fontSize: string; fontSize: string;
useCustomFontSize: boolean; useCustomFontSize: boolean;
useSystemFont: boolean;
systemFont: string;
layout: Layout; layout: Layout;
// User profile data for the message preview // User profile data for the message preview
userId?: string; userId?: string;
@ -63,8 +56,6 @@ export default class FontScalingPanel extends React.Component<IProps, IState> {
this.state = { this.state = {
fontSize: (SettingsStore.getValue("baseFontSize", null) + FontWatcher.SIZE_DIFF).toString(), fontSize: (SettingsStore.getValue("baseFontSize", null) + FontWatcher.SIZE_DIFF).toString(),
useCustomFontSize: SettingsStore.getValue("useCustomFontSize"), useCustomFontSize: SettingsStore.getValue("useCustomFontSize"),
useSystemFont: SettingsStore.getValue("useSystemFont"),
systemFont: SettingsStore.getValue("systemFont"),
layout: SettingsStore.getValue("layout"), layout: SettingsStore.getValue("layout"),
userId: null, userId: null,
displayName: null, displayName: null,