Fix login form theming and fields tracking (#5838)
This commit is contained in:
parent
520a28962b
commit
7da324de99
2 changed files with 3 additions and 3 deletions
|
|
@ -246,7 +246,7 @@ const LoginForm = ({config, extra, keyboardAwareRef, numberSSOs, serverDisplayNa
|
|||
const onLogin = useCallback(() => {
|
||||
Keyboard.dismiss();
|
||||
preSignIn();
|
||||
}, [loginId, password]);
|
||||
}, [loginId, password, theme]);
|
||||
|
||||
const onLoginChange = useCallback((text) => {
|
||||
setLoginId(text);
|
||||
|
|
@ -326,7 +326,7 @@ const LoginForm = ({config, extra, keyboardAwareRef, numberSSOs, serverDisplayNa
|
|||
/>
|
||||
</Button>
|
||||
);
|
||||
}, [buttonDisabled, isLoading, theme]);
|
||||
}, [buttonDisabled, loginId, password, isLoading, theme]);
|
||||
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ const ServerForm = ({
|
|||
const onConnect = useCallback(() => {
|
||||
Keyboard.dismiss();
|
||||
handleConnect();
|
||||
}, [buttonDisabled, connecting]);
|
||||
}, [buttonDisabled, connecting, theme]);
|
||||
|
||||
const onFocus = useCallback(() => {
|
||||
focus();
|
||||
|
|
|
|||
Loading…
Reference in a new issue