Merge branch 'feat/VersionsExplorer' of https://git.popa-popa.ru/DIKER/popa-launcher into feat/VersionsExplorer

This commit is contained in:
2025-12-20 17:45:19 +05:00

View File

@ -331,7 +331,6 @@ const Login = ({ onLoginSuccess }: LoginProps) => {
<FullScreenLoader message="Входим..." />
) : (
<>
<PopaPopa />
{/* ===== QR экран по умолчанию ===== */}
{!showPasswordLogin ? (
@ -343,6 +342,7 @@ const Login = ({ onLoginSuccess }: LoginProps) => {
alignItems: 'center',
}}
>
<PopaPopa/>
<Typography
sx={{
fontFamily: 'Benzin-Bold',
@ -368,14 +368,6 @@ const Login = ({ onLoginSuccess }: LoginProps) => {
{/* QR контейнер */}
<div ref={qrRef} style={{ minHeight: 300 }} />
{qrLoading ? (
<FullScreenLoader fullScreen={false} />
) : (
<Typography variant="body1">
Ждем подтверждения в боте
</Typography>
)}
<Box
sx={{
display: 'flex',
@ -384,6 +376,7 @@ const Login = ({ onLoginSuccess }: LoginProps) => {
gap: '2vh',
}}
>
{qrLoading && <FullScreenLoader fullScreen={true} /> }
<Typography onClick={startQrLogin} sx={gradientTextSx}>
Обновить QR
</Typography>