Skip to content

Commit

Permalink
Set switch color in MessageEditor as colors.primary
Browse files Browse the repository at this point in the history
  • Loading branch information
yutotakano committed Jun 25, 2019
1 parent b3128df commit 4659f91
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/screens/ManagebacMessageEditorScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,10 @@ export default class ManagebacMessageEditorScreen extends React.Component {
<View style={newMessageStyles.options}>
<Paragraph>Notify by Email</Paragraph>
<View pointerEvents={'none'}>
<Switch value={this.state.notifyByEmail} />
<Switch
value={this.state.notifyByEmail}
color={colors.primary}
/>
</View>
</View>
</TouchableRipple>
Expand All @@ -257,7 +260,10 @@ export default class ManagebacMessageEditorScreen extends React.Component {
<View style={newMessageStyles.options}>
<Paragraph>Private Message</Paragraph>
<View pointerEvents={'none'}>
<Switch value={this.state.privateMessage} />
<Switch
value={this.state.privateMessage}
color={colors.primary}
/>
</View>
</View>
</TouchableRipple>
Expand Down

0 comments on commit 4659f91

Please sign in to comment.