@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.
- package/Application/Components/HeaderAnimated.tsx +1 -1
- package/Application/Components/HeaderExtendHeader.tsx +1 -1
- package/Application/Components/HeaderRight.tsx +1 -1
- package/Application/Components/HeaderTitle.tsx +2 -2
- package/Application/Components/NavigationButton.tsx +1 -1
- package/Application/types.ts +1 -0
- package/package.json +1 -1
|
@@ -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 (
|
|
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 (
|
|
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 (
|
|
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={'
|
|
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 (
|
|
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 (
|
|
51
|
+
if (context.environment === 'uat') {
|
|
52
52
|
return <View style={styles.verifiedDot} />;
|
|
53
53
|
}
|
|
54
54
|
return <View />;
|
package/Application/types.ts
CHANGED