muba-posting 9.0.15 → 9.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/commonStyles.js +10 -3
  2. package/package.json +1 -1
package/commonStyles.js CHANGED
@@ -1,4 +1,4 @@
1
- import { StyleSheet, Dimensions, Platform } from 'react-native';
1
+ import { StyleSheet, Dimensions, Platform, I18nManager } from 'react-native';
2
2
  import { isRTL } from 'muba-i18n';
3
3
  import Constants from 'expo-constants';
4
4
 
@@ -509,8 +509,15 @@ export default StyleSheet.create({
509
509
  borderColor: '#bcbcbc',
510
510
  borderWidth: 1,
511
511
  borderRadius: 5,
512
- borderBottomEndRadius: 0,
513
- borderTopEndRadius: 0,
512
+ ...(I18nManager.isRTL
513
+ ? {
514
+ borderTopLeftRadius: 0,
515
+ borderBottomLeftRadius: 0,
516
+ }
517
+ : {
518
+ borderTopRightRadius: 0,
519
+ borderBottomRightRadius: 0,
520
+ }),
514
521
  backgroundColor: '#fff'
515
522
  },
516
523
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muba-posting",
3
- "version": "9.0.15",
3
+ "version": "9.0.16",
4
4
  "description": "Posting",
5
5
  "main": "Posting.js",
6
6
  "scripts": {