fix: Settings panel doesn't work and breaks entire UI #442

This commit is contained in:
ThaUnknown 2024-04-15 22:34:22 +02:00
parent a23a855655
commit 34e3a39688
2 changed files with 2 additions and 4 deletions

View file

@ -126,9 +126,7 @@
</div>
<div class='pointer my-5 rounded' use:click={loginButton}>
<div class='px-20 py-10 d-flex'>
{#if !anilistClient.userID?.viewer?.data?.Viewer}
<span class='material-symbols-outlined font-size-24 pr-10 d-inline-flex justify-content-center align-items-center'>login</span>
<div class='font-size-16'>Login With AniList</div>
{#if anilistClient.userID?.viewer?.data?.Viewer}
<span class='material-symbols-outlined rounded mr-10'>
<img src={anilistClient.userID.viewer.data.Viewer.avatar.medium} class='h-30 rounded' alt='logo' />
</span>

View file

@ -1,6 +1,6 @@
{
"name": "Miru",
"version": "5.0.9",
"version": "5.0.10",
"private": true,
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
"description": "Stream anime torrents, real-time with no waiting for downloads.",