forked from Ivasoft/mattermost-mobile
Fix the animation that occurs in login flow (#7054)
This commit is contained in:
@@ -125,6 +125,10 @@ const Onboarding = ({
|
||||
return () => listener.remove();
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
translateX.value = 0;
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<View
|
||||
style={styles.onBoardingContainer}
|
||||
|
||||
@@ -182,6 +182,10 @@ const Server = ({
|
||||
return () => backHandler.remove();
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
translateX.value = 0;
|
||||
}, []);
|
||||
|
||||
useNavButtonPressed(closeButtonId || '', componentId, dismiss, []);
|
||||
|
||||
const displayLogin = (serverUrl: string, config: ClientConfig, license: ClientLicense) => {
|
||||
|
||||
Reference in New Issue
Block a user