mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-23 13:22:02 +03:00
added Ui fix for RTL in draft screen
This commit is contained in:
parent
994546f32c
commit
20a7836a02
@ -1,4 +1,5 @@
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
import { NativeModules } from 'react-native';
|
||||
|
||||
export default EStyleSheet.create({
|
||||
container: {
|
||||
@ -15,6 +16,11 @@ export default EStyleSheet.create({
|
||||
backIcon: {
|
||||
fontSize: 24,
|
||||
color: '$iconColor',
|
||||
transform: [{ scaleX: NativeModules.I18nManager.isRTL ? -1 : 1 }],
|
||||
},
|
||||
gearIcon: {
|
||||
fontSize: 24,
|
||||
color: '$iconColor',
|
||||
},
|
||||
saveIcon: {
|
||||
fontSize: 20,
|
||||
@ -45,6 +51,7 @@ export default EStyleSheet.create({
|
||||
},
|
||||
iconButton: {
|
||||
marginRight: 24,
|
||||
marginLeft: NativeModules.I18nManager.isRTL ? 24 : 0,
|
||||
justifyContent: 'center',
|
||||
alignSelf: 'center',
|
||||
},
|
||||
|
@ -175,7 +175,7 @@ const BasicHeaderView = ({
|
||||
{isHasIcons && !isReply && (
|
||||
<IconButton
|
||||
style={{ marginHorizontal: 20 }}
|
||||
iconStyle={[styles.backIcon, isModalHeader && styles.closeIcon]}
|
||||
iconStyle={[styles.gearIcon, isModalHeader && styles.closeIcon]}
|
||||
iconType="MaterialIcons"
|
||||
name="settings"
|
||||
onPress={handleSettingsPress && handleSettingsPress}
|
||||
|
Loading…
Reference in New Issue
Block a user