@momo-kits/foundation 0.109.1-optimize.7 → 0.109.1-optimize.8

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.
@@ -54,7 +54,7 @@ const HeaderAnimated: React.FC<HeaderAnimatedProps> = ({
54
54
 
55
55
  const Verified: React.FC<any> = () => {
56
56
  const context = useContext<any>(MiniAppContext);
57
- if (!context.isAutomationEnabled) {
57
+ if (context.environment === 'uat') {
58
58
  return <View style={styles.verifiedDot} />;
59
59
  }
60
60
  return <View />;
@@ -195,7 +195,7 @@ const HeaderExtendHeader: React.FC<{
195
195
 
196
196
  const Verified: React.FC<any> = () => {
197
197
  const context = useContext<any>(MiniAppContext);
198
- if (!context.isAutomationEnabled) {
198
+ if (context.environment === 'uat') {
199
199
  return <View style={styles.verifiedDot} />;
200
200
  }
201
201
  return <View />;
@@ -213,7 +213,7 @@ const HeaderToolkitAction: React.FC<any> = ({
213
213
 
214
214
  const Verified: React.FC<any> = () => {
215
215
  const context = useContext<any>(MiniAppContext);
216
- if (!context.isAutomationEnabled) {
216
+ if (context.environment === 'uat') {
217
217
  return <View style={styles.verifiedDot} />;
218
218
  }
219
219
  return <View />;
@@ -214,7 +214,7 @@ const TitleJourney: React.FC<TitleJourneyProps> = ({
214
214
  )}
215
215
  </View>
216
216
  <Icon
217
- source={'16_arrow_chevron_down'}
217
+ source={'16_arrow_chevron_down_small'}
218
218
  size={16}
219
219
  color={tintColor}
220
220
  style={{marginHorizontal: Spacing.XS, marginVertical: Spacing.XXS}}
@@ -237,7 +237,7 @@ const TitleJourney: React.FC<TitleJourneyProps> = ({
237
237
 
238
238
  const Verified: React.FC<any> = () => {
239
239
  const context = useContext<any>(MiniAppContext);
240
- if (!context.isAutomationEnabled) {
240
+ if (context.environment === 'uat') {
241
241
  return <View style={styles.verifiedDot} />;
242
242
  }
243
243
  return <View />;
@@ -48,7 +48,7 @@ const NavigationButton: React.FC<NavigationButtonProps> = ({
48
48
 
49
49
  const Verified: React.FC<any> = () => {
50
50
  const context = useContext<any>(MiniAppContext);
51
- if (!context.isAutomationEnabled) {
51
+ if (context.environment === 'uat') {
52
52
  return <View style={styles.verifiedDot} />;
53
53
  }
54
54
  return <View />;
@@ -166,6 +166,7 @@ export type HeaderRightToolkit = {
166
166
  useShortcut?: boolean;
167
167
  tools?: Tool[];
168
168
  preventClose?: PopupNotifyProps;
169
+ useMore?: boolean;
169
170
  };
170
171
 
171
172
  export interface HeaderBackProps extends NavigationButtonProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.109.1-optimize.7",
3
+ "version": "0.109.1-optimize.8",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},