@@ -71,44 +71,50 @@ const site: Plugin.SiteAdaptor.Definition = {
71
71
)
72
72
} ,
73
73
enhanceTag,
74
- ApplicationEntries : [
75
- ( ( ) => {
76
- const icon = < Icons . SwapColorful size = { 36 } />
77
- const name = < Trans > Exchange</ Trans >
78
- const iconFilterColor = 'rgba(247, 147, 30, 0.3)'
79
- return {
80
- ApplicationEntryID : base . ID ,
81
- RenderEntryComponent ( EntryComponentProps ) {
82
- return (
83
- < ApplicationEntry
84
- { ...EntryComponentProps }
85
- title = { name }
86
- icon = { icon }
87
- iconFilterColor = { iconFilterColor }
88
- onClick = { ( ) => {
89
- EntryComponentProps . onClick ? EntryComponentProps . onClick ( openDialog ) : openDialog ( )
90
- Telemetry . captureEvent ( EventType . Access , EventID . EntryAppSwapOpen )
91
- } }
92
- />
93
- )
94
- } ,
95
- appBoardSortingDefaultPriority : 7 ,
96
- marketListSortingPriority : 7 ,
97
- icon,
98
- category : 'dapp' ,
99
- name,
100
- tutorialLink : 'https://realmasknetwork.notion.site/f2e7d081ee38487ca1db958393ac1edc' ,
101
- description : (
102
- < Trans >
103
- Pop-up trading widget allows you to instantly view prices of the hottest Crypto/Stock and trade,
104
- also invest in the best performing managers.
105
- </ Trans >
106
- ) ,
107
- iconFilterColor,
108
- hiddenInList : true ,
109
- }
110
- } ) ( ) ,
111
- ] ,
74
+ ApplicationEntries :
75
+ // temporarily disabled
76
+ process . env . MASK_ENABLE_EXCHANGE ?
77
+ [
78
+ ( ( ) => {
79
+ const icon = < Icons . SwapColorful size = { 36 } />
80
+ const name = < Trans > Exchange</ Trans >
81
+ const iconFilterColor = 'rgba(247, 147, 30, 0.3)'
82
+ return {
83
+ ApplicationEntryID : base . ID ,
84
+ RenderEntryComponent ( EntryComponentProps ) {
85
+ return (
86
+ < ApplicationEntry
87
+ { ...EntryComponentProps }
88
+ title = { name }
89
+ icon = { icon }
90
+ iconFilterColor = { iconFilterColor }
91
+ onClick = { ( ) => {
92
+ EntryComponentProps . onClick ?
93
+ EntryComponentProps . onClick ( openDialog )
94
+ : openDialog ( )
95
+ Telemetry . captureEvent ( EventType . Access , EventID . EntryAppSwapOpen )
96
+ } }
97
+ />
98
+ )
99
+ } ,
100
+ appBoardSortingDefaultPriority : 7 ,
101
+ marketListSortingPriority : 7 ,
102
+ icon,
103
+ category : 'dapp' ,
104
+ name,
105
+ tutorialLink : 'https://realmasknetwork.notion.site/f2e7d081ee38487ca1db958393ac1edc' ,
106
+ description : (
107
+ < Trans >
108
+ Pop-up trading widget allows you to instantly view prices of the hottest Crypto/Stock
109
+ and trade, also invest in the best performing managers.
110
+ </ Trans >
111
+ ) ,
112
+ iconFilterColor,
113
+ hiddenInList : true ,
114
+ }
115
+ } ) ( ) ,
116
+ ]
117
+ : [ ] ,
112
118
wrapperProps : {
113
119
icon : < Icons . SwapColorful size = { 24 } style = { { filter : 'drop-shadow(0px 6px 12px rgba(254, 156, 0, 0.2))' } } /> ,
114
120
backgroundGradient :
0 commit comments