mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-01 12:44:45 -04:00
Display the invalid account page when the refresh token is invalid
This commit is contained in:
parent
39ce601344
commit
13df17544c
@ -52,7 +52,7 @@ export const ConnectionError = () => {
|
|||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (account.isVerified) return <ErrorView error={error} noBubble />;
|
if (!account.isVerified) {
|
||||||
return (
|
return (
|
||||||
<View
|
<View
|
||||||
{...css({ flexGrow: 1, flexShrink: 1, justifyContent: "center", alignItems: "center" })}
|
{...css({ flexGrow: 1, flexShrink: 1, justifyContent: "center", alignItems: "center" })}
|
||||||
@ -61,6 +61,7 @@ export const ConnectionError = () => {
|
|||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return (
|
return (
|
||||||
<View {...css({ padding: ts(2) })}>
|
<View {...css({ padding: ts(2) })}>
|
||||||
<H1 {...css({ textAlign: "center" })}>{t("errors.connection")}</H1>
|
<H1 {...css({ textAlign: "center" })}>{t("errors.connection")}</H1>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user