@propel-nsl/propel-react-native-sdk 1.1.3 → 1.1.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@propel-nsl/propel-react-native-sdk",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "Propel Mobile SDK - React Native Core",
5
5
  "files": [
6
6
  "src/",
@@ -54,12 +54,12 @@ const HIDDEN_SCREENS = [
54
54
 
55
55
  const getTabBarHeight = (): number => {
56
56
  if (Platform.OS === 'ios') {
57
- return screenHeight > 800 ? VSCALE(40) : VSCALE(45);
57
+ return screenHeight > 800 ? VSCALE(50) : VSCALE(55);
58
58
  }
59
59
  if (Platform.OS === 'android') {
60
- return screenHeight > 800 ? VSCALE(35) : VSCALE(55);
60
+ return screenHeight > 800 ? VSCALE(50) : VSCALE(60);
61
61
  }
62
- return VSCALE(50);
62
+ return VSCALE(55);
63
63
  };
64
64
 
65
65
  // DashboardStack - contains Dashboard and its nested screens
@@ -289,22 +289,26 @@ const styles = StyleSheet.create({
289
289
  backgroundColor: '#FFFFFF',
290
290
  borderTopWidth: 1,
291
291
  borderTopColor: '#E5E7EB',
292
- paddingTop: VSCALE(8),
292
+ paddingTop: VSCALE(6),
293
+ paddingHorizontal: SCALE(4),
293
294
  },
294
295
  tabItem: {
295
296
  flex: 1,
296
297
  alignItems: 'center',
297
298
  justifyContent: 'center',
298
- minHeight: VSCALE(45),
299
+ minHeight: VSCALE(50),
300
+ paddingVertical: VSCALE(4),
299
301
  },
300
302
  tabItemContent: {
301
303
  alignItems: 'center',
302
304
  justifyContent: 'center',
305
+ gap: VSCALE(2),
303
306
  },
304
307
  tabLabel: {
305
- fontSize: SCALE(10),
306
- marginTop: VSCALE(3),
308
+ fontSize: SCALE(9),
309
+ marginTop: VSCALE(2),
307
310
  fontWeight: '400',
311
+ textAlign: 'center',
308
312
  },
309
313
  iconContainer: {
310
314
  justifyContent: 'center',
@@ -202,7 +202,7 @@ const MyCart: React.FC<MyCartProps> = ({ navigation }) => {
202
202
  </Text>
203
203
  <CustomImage source={Images.greyDownArrow} imgStyle={styles.icon} />
204
204
  </TouchableOpacity>
205
- <Text style={styles.productPoints}>{item?.amount_cents / 100} points</Text>
205
+ <Text style={styles.productPoints}>₹{item?.amount_cents / 100}</Text>
206
206
  </View>
207
207
  </View>
208
208
  );
@@ -139,7 +139,7 @@ const PaymentMethod: React.FC<{
139
139
  onPress={() => setShowPointsBreakdown(!showPointsBreakdown)}
140
140
  >
141
141
  <Text style={styles.pointsText}>
142
- {viewMyCartData?.amount_cents / 100} Points
142
+ {viewMyCartData?.amount_cents / 100}
143
143
  </Text>
144
144
  <CustomImage
145
145
  source={
@@ -230,7 +230,7 @@ const PaymentMethod: React.FC<{
230
230
  <View style={styles.bottomCTA}>
231
231
  <View style={styles.priceSection}>
232
232
  <Text style={styles.priceText}>
233
- {viewMyCartData?.total_amount_cents / 100} points
233
+ {viewMyCartData?.total_amount_cents / 100}
234
234
  </Text>
235
235
  <TouchableOpacity
236
236
  activeOpacity={0.7}