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:
committed by
GitHub
parent
7201147b55
commit
65ef4db86f
@@ -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
|
||||
}>()
|
||||
|
||||
Reference in New Issue
Block a user