Mobile: Fixed the switch background color on config screen (#2919)

This commit is contained in:
Rahul Mohata authored and GitHub committed 2020-05-09 15:39:02 +01:00
1 parent 5a174b2236
commit dbe8d3a68e
1 file changed
+1 -1
@@ -392,7 +392,7 @@ class ConfigScreenComponent extends BaseScreenComponent {
<Text key="label" style={this.styles().switchSettingText}>
{md.label()}
</Text>
<Switch key="control" style={this.styles().switchSettingControl} value={value} onValueChange={value => updateSettingValue(key, value)} />
<Switch key="control" style={this.styles().switchSettingControl} trackColor={{ false: theme.strongDividerColor }} value={value} onValueChange={value => updateSettingValue(key, value)} />
</View>
{descriptionComp}
</View>