mirror of
https://github.com/laurent22/joplin.git
synced 2025-02-04 19:16:07 +02:00
Mobile: Fixed the switch background color on config screen (#2919)
This commit is contained in:
parent
5a174b2236
commit
dbe8d3a68e
@ -126,7 +126,7 @@ class ConfigScreenComponent extends BaseScreenComponent {
|
|||||||
alert('Profile has been exported!');
|
alert('Profile has been exported!');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
alert(`Could not export files: ${error.message}`);
|
alert(`Could not export files: ${error.message}`);
|
||||||
} finally {
|
} finally {
|
||||||
this.setState({ profileExportStatus: 'idle' });
|
this.setState({ profileExportStatus: 'idle' });
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -392,7 +392,7 @@ class ConfigScreenComponent extends BaseScreenComponent {
|
|||||||
<Text key="label" style={this.styles().switchSettingText}>
|
<Text key="label" style={this.styles().switchSettingText}>
|
||||||
{md.label()}
|
{md.label()}
|
||||||
</Text>
|
</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>
|
</View>
|
||||||
{descriptionComp}
|
{descriptionComp}
|
||||||
</View>
|
</View>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user