mirror of https://github.com/vector-im/riot-web
Reorder interfaces
parent
c9d5ed4d00
commit
9034889414
|
@ -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 New Issue