@shoutem/ui 7.1.0-beta.17 → 7.1.0-beta.19

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/package.json +1 -1
  2. package/theme.js +3 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shoutem/ui",
3
- "version": "7.1.0-beta.17",
3
+ "version": "7.1.0-beta.19",
4
4
  "description": "Styleable set of components for React Native applications",
5
5
  "scripts": {
6
6
  "lint": "eslint .",
package/theme.js CHANGED
@@ -72,7 +72,7 @@ export function resolveFontFamily(
72
72
  fontWeight = 'normal',
73
73
  fontStyle = 'normal',
74
74
  ) {
75
- if (!isAndroid) {
75
+ if (isIos) {
76
76
  return fontName;
77
77
  }
78
78
 
@@ -103,7 +103,7 @@ export function resolveFontFamily(
103
103
  // being provided to fontWeight will cause the default system font to be used, so we conditionally
104
104
  // resolve it.
105
105
  export function resolveFontWeight(fontWeight) {
106
- if (isAndroid) {
106
+ if (!isIos) {
107
107
  return 'normal';
108
108
  }
109
109
 
@@ -114,7 +114,7 @@ export function resolveFontWeight(fontWeight) {
114
114
  // being provided to fontStyle will cause the default system font to be used, so we conditionally
115
115
  // resolve it.
116
116
  export function resolveFontStyle(fontStyle) {
117
- if (isAndroid) {
117
+ if (!isIos) {
118
118
  return 'normal';
119
119
  }
120
120
 
@@ -3130,7 +3130,6 @@ export default () => {
3130
3130
  },
3131
3131
  textContainer: {
3132
3132
  flex: 1,
3133
- height: responsiveHeight(48),
3134
3133
  justifyContent: 'space-between',
3135
3134
  },
3136
3135
  title: {