agora-appbuilder-core 4.0.26-beta-3 → 4.0.26-beta-5

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": "agora-appbuilder-core",
3
- "version": "4.0.26-beta-3",
3
+ "version": "4.0.26-beta-5",
4
4
  "description": "React Native template for RTE app builder",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -76,8 +76,8 @@ const DefaultConfig = {
76
76
  CHAT_ORG_NAME: '',
77
77
  CHAT_APP_NAME: '',
78
78
  CHAT_URL: '',
79
- CLI_VERSION: '3.0.26-beta-3',
80
- CORE_VERSION: '4.0.26-beta-3',
79
+ CLI_VERSION: '3.0.26-beta-5',
80
+ CORE_VERSION: '4.0.26-beta-5',
81
81
  DISABLE_LANDSCAPE_MODE: false,
82
82
  };
83
83
 
@@ -56,13 +56,23 @@ const CaptionContainer = () => {
56
56
  <View
57
57
  style={[
58
58
  {
59
- paddingLeft: isMobileUA() ? 0 : isDesktop() ? 32 : 10,
59
+ paddingLeft: isMobileUA()
60
+ ? 0
61
+ : isDesktop()
62
+ ? $config.ICON_TEXT
63
+ ? 32
64
+ : 0
65
+ : 10,
60
66
  paddingRight: isMobileUA()
61
67
  ? 0
62
68
  : isDesktop()
63
69
  ? globalWidth > 1700 && isCaptionNotFullWidth
64
- ? 20
65
- : 32
70
+ ? $config.ICON_TEXT
71
+ ? 20
72
+ : 0
73
+ : $config.ICON_TEXT
74
+ ? 32
75
+ : 0
66
76
  : 10,
67
77
  },
68
78
  //@ts-ignore
@@ -308,7 +318,7 @@ const styles = StyleSheet.create({
308
318
  alignItems: 'center',
309
319
  backgroundColor: $config.CARD_LAYER_1_COLOR,
310
320
  borderRadius: ThemeConfig.BorderRadius.small,
311
- marginTop: 8,
321
+ marginTop: $config.ICON_TEXT ? 8 : 0,
312
322
  },
313
323
  mobileContainer: {
314
324
  paddingVertical: 4,