Przeglądaj źródła

fix(rn) enable reactions by default

master
Saúl Ibarra Corretgé 3 lat temu
rodzic
commit
248865ad3f

+ 6
- 6
react/features/base/flags/constants.js Wyświetl plik

@@ -154,6 +154,12 @@ export const PIP_ENABLED = 'pip.enabled';
154 154
  */
155 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 164
  * Flag indicating if recording should be enabled.
159 165
  * Default: auto-detected.
@@ -220,9 +226,3 @@ export const VIDEO_SHARE_BUTTON_ENABLED = 'video-share.enabled';
220 226
  * Default: disabled (false).
221 227
  */
222 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 Wyświetl plik

@@ -205,7 +205,7 @@ function _mapStateToProps(state) {
205 205
         _bottomSheetStyles: ColorSchemeRegistry.get(state, 'BottomSheet'),
206 206
         _isOpen: isDialogOpen(state, OverflowMenu_),
207 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
 

Ładowanie…
Anuluj
Zapisz