Skip to content

Commit 141eedb

Browse files
authored
Merge pull request #3021 from StoDevX/ios-fix-missing-bar-between-username-and-password
Fix missing bar between username and password fields in login screen
2 parents bb27a29 + 988a6ed commit 141eedb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/views/settings/screens/overview/login-credentials.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ class CredentialsLoginSection extends React.Component<Props, State> {
7575
{loggedIn ? (
7676
<Cell title={`Logged in as ${username}.`} />
7777
) : (
78-
<React.Fragment>
78+
[
7979
<CellTextField
80+
key={0}
8081
_ref={this.getUsernameRef}
8182
disabled={loading}
8283
label="Username"
@@ -86,10 +87,9 @@ class CredentialsLoginSection extends React.Component<Props, State> {
8687
returnKeyType="next"
8788
secureTextEntry={false}
8889
value={username}
89-
/>
90-
90+
/>,
9191
<CellTextField
92-
key="password"
92+
key={1}
9393
_ref={this.getPasswordRef}
9494
disabled={loading}
9595
label="Password"
@@ -99,8 +99,8 @@ class CredentialsLoginSection extends React.Component<Props, State> {
9999
returnKeyType="done"
100100
secureTextEntry={true}
101101
value={password}
102-
/>
103-
</React.Fragment>
102+
/>,
103+
]
104104
)}
105105

106106
<LoginButton

0 commit comments

Comments
 (0)