fixed rtl alignment issues in post options modal

This commit is contained in:
Sadaqat Ali 2022-01-07 12:48:20 +05:00
parent 7bb19430ea
commit 548fbe6895
4 changed files with 10 additions and 4 deletions

View File

@ -331,6 +331,7 @@
"draft_save_success":"Draft Saved",
"draft_save_fail":"Failed to save draft",
"select_thumb":"Select Post Thumbnail",
"add_more_imgs":"Add more images to post",
"two_thumbs_required":"Add more images in your post before setting thumbnail",
"scheduled_for":"Scheduled For",
"scheduled_immediate":"Immediate",

View File

@ -230,7 +230,8 @@ const BeneficiarySelectionContent = ({ draftId, setDisableDone }) => {
onPress={newEditable?_resetInputs:_addAccount}
textStyle={{
color:EStyleSheet.value('$primaryBlue'),
fontWeight:'bold'
fontWeight:'bold',
textAlign:'left',
}}
/>

View File

@ -28,6 +28,7 @@ export default EStyleSheet.create({
fontSize: 14,
fontWeight: 'bold',
flexGrow: 1,
textAlign:'left',
},
listContainer:{
paddingBottom:getBottomSpace() + 16,
@ -37,7 +38,7 @@ export default EStyleSheet.create({
},
bodyWrapper: { flex: 1, paddingTop: 20, paddingBottom:20},
inputWrapper: { flexDirection: 'row', alignItems: 'center' },
contentLabel: { color: '$iconColor', marginTop:4 },
contentLabel: { color: '$iconColor', marginTop:4, textAlign:'left' },
weightInput: {width:80},
weightFormInput: { textAlign: 'center', color: '$primaryBlack' },
weightFormInputWrapper: { marginTop: 8 },
@ -50,4 +51,7 @@ export default EStyleSheet.create({
alignSelf: 'flex-end',
justifyContent: 'center',
},
thumbSelectContainer:{
marginTop:12,
}
});

View File

@ -53,11 +53,11 @@ const ThumbSelectionContent = ({body, thumbIndex, onThumbSelection}: ThumbSelect
return (
<View style={{marginTop:12}}>
<View style={styles.thumbSelectContainer}>
<Text style={styles.settingLabel}>{intl.formatMessage({id:'editor.select_thumb'})}</Text>
{
needMore ? (
<Text style={styles.contentLabel}>Add more images to post</Text>
<Text style={styles.contentLabel}>{intl.formatMessage({id:'editor.add_more_imgs'})}</Text>
):(
<FlatList
data={imageUrls}