Sfoglia il codice sorgente

fix(rn) enable reactions by default

master
Saúl Ibarra Corretgé 4 anni fa
parent
commit
248865ad3f

+ 6
- 6
react/features/base/flags/constants.js Vedi File

154
  */
154
  */
155
 export const RAISE_HAND_ENABLED = 'raise-hand.enabled';
155
 export const RAISE_HAND_ENABLED = 'raise-hand.enabled';
156
 
156
 
157
+/**
158
+ * Flag indicating if the reactions feature should be enabled.
159
+ * Default: enabled (true).
160
+ */
161
+export const REACTIONS_ENABLED = 'reactions.enabled';
162
+
157
 /**
163
 /**
158
  * Flag indicating if recording should be enabled.
164
  * Flag indicating if recording should be enabled.
159
  * Default: auto-detected.
165
  * Default: auto-detected.
220
  * Default: disabled (false).
226
  * Default: disabled (false).
221
  */
227
  */
222
 export const WELCOME_PAGE_ENABLED = 'welcomepage.enabled';
228
 export const WELCOME_PAGE_ENABLED = 'welcomepage.enabled';
223
-
224
-/**
225
- * Flag indicating if the reactions feature should be enabled.
226
- * Default: disabled (false).
227
- */
228
-export const REACTIONS_ENABLED = 'reactions.enabled';

+ 1
- 1
react/features/toolbox/components/native/OverflowMenu.js Vedi File

205
         _bottomSheetStyles: ColorSchemeRegistry.get(state, 'BottomSheet'),
205
         _bottomSheetStyles: ColorSchemeRegistry.get(state, 'BottomSheet'),
206
         _isOpen: isDialogOpen(state, OverflowMenu_),
206
         _isOpen: isDialogOpen(state, OverflowMenu_),
207
         _width: state['features/base/responsive-ui'].clientWidth,
207
         _width: state['features/base/responsive-ui'].clientWidth,
208
-        _reactionsEnabled: getFeatureFlag(state, REACTIONS_ENABLED, false)
208
+        _reactionsEnabled: getFeatureFlag(state, REACTIONS_ENABLED, true)
209
     };
209
     };
210
 }
210
 }
211
 
211
 

Loading…
Annulla
Salva