fix: don't show rtl if disabled, regardless of perms

This commit is contained in:
ThatOneCalculator 2022-11-16 01:46:09 -08:00
parent cae813d9d2
commit 395758021f
1 changed files with 1 additions and 3 deletions

View File

@ -86,9 +86,7 @@ if (defaultStore.reactiveState.tutorial.value !== -1) {
const isLocalTimelineAvailable = const isLocalTimelineAvailable =
!instance.disableLocalTimeline || !instance.disableLocalTimeline ||
($i != null && ($i.isModerator || $i.isAdmin)); ($i != null && ($i.isModerator || $i.isAdmin));
const isRecommendedTimelineAvailable = const isRecommendedTimelineAvailable = !instance.disableRecommendedTimeline;
!instance.disableRecommendedTimeline ||
($i != null && ($i.isModerator || $i.isAdmin));
const isGlobalTimelineAvailable = const isGlobalTimelineAvailable =
!instance.disableGlobalTimeline || !instance.disableGlobalTimeline ||
($i != null && ($i.isModerator || $i.isAdmin)); ($i != null && ($i.isModerator || $i.isAdmin));