mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Reorder interfaces
This commit is contained in:
parent
c9d5ed4d00
commit
9034889414
1 changed files with 10 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue