From 0c865b4ab949c4080b6620e00de7b34fa397f509 Mon Sep 17 00:00:00 2001 From: Sadaqat Ali Date: Tue, 4 Jan 2022 21:50:32 +0500 Subject: [PATCH] rtl issues fixed in feeds screen header component --- ios/Podfile.lock | 2 +- src/components/header/view/headerStyles.ts | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ios/Podfile.lock b/ios/Podfile.lock index a160089bc..c052bc551 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -772,4 +772,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 9c48318ea254e2c78005a7a0c2d8bfc14ddd783d -COCOAPODS: 1.10.1 +COCOAPODS: 1.11.2 diff --git a/src/components/header/view/headerStyles.ts b/src/components/header/view/headerStyles.ts index 75359ead4..f8e55f880 100644 --- a/src/components/header/view/headerStyles.ts +++ b/src/components/header/view/headerStyles.ts @@ -1,5 +1,5 @@ import EStyleSheet from 'react-native-extended-stylesheet'; -import { Platform } from 'react-native'; +import { Platform, NativeModules } from 'react-native'; export default EStyleSheet.create({ container: { @@ -29,15 +29,17 @@ export default EStyleSheet.create({ avatarDefault: { borderTopRightRadius: 68 / 2, borderBottomRightRadius: 68 / 2, + overflow:'hidden' }, titleWrapper: { flexDirection: 'column', justifyContent: 'center', + alignItems: 'flex-start', marginHorizontal: 8, - flex:2 + flex:2, }, titleWrapperReverse: { - alignItems:'flex-end' + alignItems:'flex-end', }, title: { fontSize: 14,