index.vue 403 B

12345678910111213141516
  1. <script lang="ts" setup>
  2. import { useSettingsStore } from '@/store/modules/settings'
  3. const { isFullscreen, toggle } = useFullscreen()
  4. const settingsStore = useSettingsStore()
  5. const { theme } = storeToRefs(settingsStore)
  6. </script>
  7. <template>
  8. <vab-icon
  9. v-if="theme.showFullScreen"
  10. :icon="isFullscreen ? 'fullscreen-exit-fill' : 'fullscreen-fill'"
  11. @click="toggle"
  12. />
  13. </template>