diff --git a/app.vue b/app.vue index 50ee2c6..fbb54bc 100644 --- a/app.vue +++ b/app.vue @@ -3,12 +3,14 @@ import { Archive } from 'libarchive.js/main.js'; import { CompressedFile } from 'libarchive.js/src/compressed-file'; import { getElementInfo } from "moveable"; import { VueSelecto } from "vue3-selecto"; +import { useDisplay } from 'vuetify/lib/framework.mjs'; Archive.init({ workerUrl: '/worker-bundle.js', }); -let drawer = ref(true); +let display = useDisplay(); +let drawer = ref(!display.xs.value); let files = ref([]); let filesList = ref([]); @@ -136,7 +138,7 @@ function onSelectEnd(e: any) { Uncompressed File - +