diff --git a/app/components/Navbar/NavBarMobile.tsx b/app/components/Navbar/NavBarMobile.tsx index e0be96b..3937c86 100644 --- a/app/components/Navbar/NavBarMobile.tsx +++ b/app/components/Navbar/NavBarMobile.tsx @@ -54,7 +54,7 @@ const FifthButton = { title: "Обзор", icon: "mdi--compass", href: "/discovery", - auth: true, + auth: false, }, }; @@ -81,19 +81,27 @@ export const NavBarMobile = (props: { setIsSettingModalOpen: any }) => { ); })} - {userStore.isAuth && preferenceStore.flags.showFifthButton ? - - - - {FifthButton[preferenceStore.flags.showFifthButton].title} - - + {preferenceStore.flags.showFifthButton ? + <> + {( + !userStore.isAuth && + FifthButton[preferenceStore.flags.showFifthButton].auth + ) ? + <> + : + + + {FifthButton[preferenceStore.flags.showFifthButton].title} + + + } + : ""} { diff --git a/app/components/ReleasePoster/PosterWithStuff.tsx b/app/components/ReleasePoster/PosterWithStuff.tsx index 4482a5a..c4049ac 100644 --- a/app/components/ReleasePoster/PosterWithStuff.tsx +++ b/app/components/ReleasePoster/PosterWithStuff.tsx @@ -96,7 +96,7 @@ export const PosterWithStuff = (props: {

)} {props.title_original && ( -

+

{props.title_original}

)} diff --git a/app/store/preferences.ts b/app/store/preferences.ts index 36c9cdf..056038b 100644 --- a/app/store/preferences.ts +++ b/app/store/preferences.ts @@ -40,7 +40,7 @@ export const usePreferencesStore = create()( flags: { saveWatchHistory: true, showChangelog: true, - showFifthButton: null, + showFifthButton: "discovery", }, params: { isFirstLaunch: true,