Explorar el Código

fix(recording): support passing styles in firefox

Using an array of styles in Firefox causes an error
that triggers jitsi-meet to redirect to a static page.
j8
Leonard Kim hace 6 años
padre
commit
d872728966

+ 4
- 4
react/features/recording/components/Recording/StartRecordingDialogContent.js Ver fichero

144
                     style = { styles.header }>
144
                     style = { styles.header }>
145
                     <Text
145
                     <Text
146
                         className = 'recording-title'
146
                         className = 'recording-title'
147
-                        style = { [
148
-                            _dialogStyles.text,
149
-                            styles.title
150
-                        ] }>
147
+                        style = {{
148
+                            ..._dialogStyles.text,
149
+                            ...styles.title
150
+                        }}>
151
                         { t('recording.authDropboxText') }
151
                         { t('recording.authDropboxText') }
152
                     </Text>
152
                     </Text>
153
                     <Switch
153
                     <Switch

Loading…
Cancelar
Guardar