refactor: remove zen mode from the app (#3337)

* refactor: remove zen mode from settings

* refactor: remove zen mode from footer and options
This commit is contained in:
Joel Jacob Stephen
2023-09-12 14:10:38 +05:30
committed by GitHub
parent 7201147b55
commit 65ef4db86f
5 changed files with 2 additions and 49 deletions

View File

@@ -67,7 +67,6 @@
</template>
<script setup lang="ts">
import { watch } from "vue"
import IconSidebar from "~icons/lucide/sidebar"
import IconSidebarOpen from "~icons/lucide/sidebar-open"
import IconChevronRight from "~icons/lucide/chevron-right"
@@ -77,17 +76,9 @@ import { platform } from "~/platform"
const t = useI18n()
const ZEN_MODE = useSetting("ZEN_MODE")
const EXPAND_NAVIGATION = useSetting("EXPAND_NAVIGATION")
const SIDEBAR = useSetting("SIDEBAR")
watch(
() => ZEN_MODE.value,
() => {
EXPAND_NAVIGATION.value = !ZEN_MODE.value
}
)
defineProps<{
show: boolean
}>()