diff --git a/app/views/ThemeView.js b/app/views/ThemeView.js index e6634be16..1db0fb71c 100644 --- a/app/views/ThemeView.js +++ b/app/views/ThemeView.js @@ -49,6 +49,10 @@ const THEMES = [ } ]; +if (supportSystemTheme()) { + THEMES.unshift(SYSTEM_THEME); +} + const styles = StyleSheet.create({ list: { paddingBottom: 18 @@ -76,13 +80,6 @@ class ThemeView extends React.Component { setTheme: PropTypes.func } - constructor(props) { - super(props); - if (supportSystemTheme()) { - THEMES.unshift(SYSTEM_THEME); - } - } - isSelected = (item) => { const { themePreferences } = this.props; const { group } = item;