Fix upside down loading message text while scrolling the post list (#5647)

This commit is contained in:
Elias Nahum 2021-08-31 09:41:34 -04:00 committed by GitHub
parent 8dd42e2d2a
commit 52a3e22a8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,11 +3,7 @@
import PropTypes from 'prop-types';
import React, {PureComponent} from 'react';
import {
ActivityIndicator,
View,
ViewPropTypes,
} from 'react-native';
import {ActivityIndicator, Platform, View, ViewPropTypes} from 'react-native';
import FormattedText from '@components/formatted_text';
import TouchableWithFeedback from '@components/touchable_with_feedback';
@ -75,6 +71,11 @@ const getStyleSheet = makeStyleSheetFromTheme((theme) => {
height: 28,
marginVertical: 10,
overflow: 'hidden',
...Platform.select({
android: {
scaleY: -1,
},
}),
},
text: {
fontSize: 14,