Browse Source

Fixed buttons not having enough room on some devices

Arnaud Vergnet 4 years ago
parent
commit
7b332e11fc
1 changed files with 9 additions and 7 deletions
  1. 9
    7
      src/screens/Amicale/LoginScreen.js

+ 9
- 7
src/screens/Amicale/LoginScreen.js View File

@@ -237,13 +237,6 @@ class LoginScreen extends React.Component<Props, State> {
237 237
                     {this.getFormInput()}
238 238
                     <Card.Actions>
239 239
                         <Button
240
-                            icon="help-circle"
241
-                            mode="contained"
242
-                            onPress={this.onResetPasswordClick}
243
-                            style={{marginLeft: 'auto'}}>
244
-                            {i18n.t("loginScreen.resetPassword")}
245
-                        </Button>
246
-                        <Button
247 240
                             icon="send"
248 241
                             mode="contained"
249 242
                             disabled={!this.shouldEnableLogin()}
@@ -253,6 +246,15 @@ class LoginScreen extends React.Component<Props, State> {
253 246
                             {i18n.t("loginScreen.login")}
254 247
                         </Button>
255 248
                     </Card.Actions>
249
+                    <Card.Actions>
250
+                        <Button
251
+                            icon="help-circle"
252
+                            mode="contained"
253
+                            onPress={this.onResetPasswordClick}
254
+                            style={{marginLeft: 'auto'}}>
255
+                            {i18n.t("loginScreen.resetPassword")}
256
+                        </Button>
257
+                    </Card.Actions>
256 258
                 </Card.Content>
257 259
             </Card>
258 260
         );

Loading…
Cancel
Save