[MM-42533] Fix hidden custom theme (#6054)
This commit is contained in:
parent
23f3fb10d2
commit
ca6f59729c
2 changed files with 5 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`Theme should match snapshot 1`] = `
|
||||
<View
|
||||
<ScrollView
|
||||
style={
|
||||
Object {
|
||||
"flex": 1,
|
||||
|
|
@ -390,5 +390,5 @@ exports[`Theme should match snapshot 1`] = `
|
|||
/>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
</ScrollView>
|
||||
`;
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ import PropTypes from 'prop-types';
|
|||
import React from 'react';
|
||||
import {intlShape} from 'react-intl';
|
||||
import {Text, View} from 'react-native';
|
||||
import {ScrollView} from 'react-native-gesture-handler';
|
||||
import {SafeAreaView} from 'react-native-safe-area-context';
|
||||
|
||||
import FormattedText from '@components/formatted_text';
|
||||
|
|
@ -112,7 +113,7 @@ export default class Theme extends React.PureComponent {
|
|||
const {customTheme} = this.state;
|
||||
const style = getStyleSheet(theme);
|
||||
return (
|
||||
<View style={style.container}>
|
||||
<ScrollView style={style.container}>
|
||||
<StatusBar/>
|
||||
<View style={style.wrapper}>
|
||||
<View style={style.tilesContainer}>
|
||||
|
|
@ -132,7 +133,7 @@ export default class Theme extends React.PureComponent {
|
|||
</SafeAreaView>
|
||||
}
|
||||
</View>
|
||||
</View>
|
||||
</ScrollView>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue