Browse Source

Improved settings nightmode checkbox

keplyx 4 years ago
parent
commit
8c779e0ed6
1 changed files with 5 additions and 3 deletions
  1. 5
    3
      screens/SettingsScreen.js

+ 5
- 3
screens/SettingsScreen.js View File

@@ -171,8 +171,10 @@ export default class SettingsScreen extends React.Component<Props, State> {
171 171
                     </Text>
172 172
                 </Body>
173 173
                 <Right>
174
-                    <CheckBox checked={this.state.nightMode}
175
-                              onPress={() => this.toggleNightMode()}/>
174
+                    <CheckBox
175
+                        checked={this.state.nightMode}
176
+                        onPress={() => this.toggleNightMode()}
177
+                        style={{marginRight: 20}}/>
176 178
                 </Right>
177 179
             </ListItem>
178 180
         );
@@ -228,7 +230,7 @@ export default class SettingsScreen extends React.Component<Props, State> {
228 230
         return (
229 231
             <Container>
230 232
                 <CustomHeader navigation={nav} title={i18n.t('screens.settings')} hasBackButton={true}
231
-                rightButton={this.getRightButton()}/>
233
+                              rightButton={this.getRightButton()}/>
232 234
                 <Content padder>
233 235
                     <Card>
234 236
                         <CardItem header>

Loading…
Cancel
Save