Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(rn,settings) only show "disable call integration" on Android

Saúl Ibarra Corretgé4a88ad098a0f
diff --git a/react/features/welcome/components/settings/components/SettingsView.js b/react/features/welcome/components/settings/components/SettingsView.js
index f6e6619cbb..9e0211c155 100644
--- a/react/features/welcome/components/settings/components/SettingsView.js
+++ b/react/features/welcome/components/settings/components/SettingsView.js
@@ -4,6 +4,7 @@ import React from 'react';
import {
Alert,
NativeModules,
+ Platform,
ScrollView,
Text
} from 'react-native';
@@ -283,15 +284,19 @@ class SettingsView extends AbstractSettingsView<Props, State> {
accordion = { true }
expandable = { true }
label = 'settingsView.advanced'>
- <FormRow
- label = 'settingsView.disableCallIntegration'>
- <Switch
- onValueChange = { this._onDisableCallIntegration }
- thumbColor = { THUMB_COLOR }
- trackColor = {{ true: palette.screen01Header }}
- value = { disableCallIntegration } />
- </FormRow>
- <Divider style = { styles.fieldSeparator } />
+ { Platform.OS === 'android' && (
+ <>
+ <FormRow
+ label = 'settingsView.disableCallIntegration'>
+ <Switch
+ onValueChange = { this._onDisableCallIntegration }
+ thumbColor = { THUMB_COLOR }
+ trackColor = {{ true: palette.screen01Header }}
+ value = { disableCallIntegration } />
+ </FormRow>
+ <Divider style = { styles.fieldSeparator } />
+ </>
+ )}
<FormRow
label = 'settingsView.disableP2P'>
<Switch