fix(rn,settings) only show "disable call integration" on Android
It;';s not implemented on iOS.
This commit is contained in:
parent
dd20e8626e
commit
4a88ad098a
react/features/welcome/components/settings/components
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue