Reorder interfaces

pull/21833/head
Jorik Schellekens 2020-05-28 14:43:01 +01:00
parent c9d5ed4d00
commit 9034889414
1 changed files with 10 additions and 7 deletions

View File

@ -34,6 +34,16 @@ import { IValidationResult, IFieldState } from '../../../elements/Validation';
interface IProps {
}
interface IThemeState {
theme: string,
useSystemTheme: boolean,
}
export interface CustomThemeMessage {
isError: boolean,
text: string
};
interface IState extends IThemeState {
// String displaying the current selected fontSize.
// Needs to be string for things like '17.' without
@ -44,13 +54,6 @@ interface IState extends IThemeState {
useCustomFontSize: boolean,
}
export type CustomThemeMessage = {isError: boolean, text: string};
interface IThemeState {
theme: string,
useSystemTheme: boolean,
}
export default class AppearanceUserSettingsTab extends React.Component<IProps, IState> {
private themeTimer: NodeJS.Timeout;