[MM-42533] Fix hidden custom theme (#6054)

This commit is contained in:
Andrey Ramirez 2022-03-18 06:36:57 +08:00 committed by GitHub
parent 23f3fb10d2
commit ca6f59729c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View file

@ -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>
`;

View file

@ -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>
);
}
}