Skip to content

Commit

Permalink
Remove Keyboard Navigation help view on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
tinohager committed Dec 21, 2024
1 parent ec4ea64 commit 925dfcc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions resources/js/components/headers/AlbumsHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,21 +82,21 @@ import Button from "primevue/button";
import SpeedDial from "primevue/speeddial";
import Toolbar from "primevue/toolbar";
import ContextMenu from "primevue/contextmenu";
import Divider from "primevue/divider";
import ImportFromLink from "@/components/modals/ImportFromLink.vue";
import ImportFromServer from "@/components/modals/ImportFromServer.vue";
import { computed, ComputedRef, ref } from "vue";
import { onKeyStroke } from "@vueuse/core";
import { useRouter } from "vue-router";
import { storeToRefs } from "pinia";
import { useLycheeStateStore } from "@/stores/LycheeState";
import { useTogglablesStateStore } from "@/stores/ModalsState";
import { isTouchDevice, shouldIgnoreKeystroke } from "@/utils/keybindings-utils";
import { storeToRefs } from "pinia";
import BackLinkButton from "./BackLinkButton.vue";
import { useContextMenuAlbumsAdd } from "@/composables/contextMenus/contextMenuAlbumsAdd";
import Divider from "primevue/divider";
import { useGalleryModals } from "@/composables/modalsTriggers/galleryModals";
import { useRouter } from "vue-router";
import DropBox from "../modals/DropBox.vue";
import BackLinkButton from "./BackLinkButton.vue";
import OpenLeftMenu from "./OpenLeftMenu.vue";
import { useTogglablesStateStore } from "@/stores/ModalsState";
const props = defineProps<{
user: App.Http.Resources.Models.UserResource;
Expand All @@ -119,7 +119,7 @@ const emits = defineEmits<{
help: [];
}>();
// 'UPLOAD_PHOTO' => 'Upload Photo',
// 'UPLOAD_PHOTO' => 'Upload Photo',
// 'IMPORT_LINK' => 'Import from Link',
// 'IMPORT_DROPBOX' => 'Import from Dropbox',
// 'IMPORT_SERVER' => 'Import from Server',
Expand Down Expand Up @@ -267,7 +267,7 @@ const menu = computed(() =>
icon: "pi pi-question-circle",
type: "fn",
callback: openHelp,
if: props.user.id !== null && props.config.show_keybinding_help_button,
if: !isTouchDevice() && props.user.id !== null && props.config.show_keybinding_help_button,
},
{
icon: "pi pi-plus",
Expand Down

0 comments on commit 925dfcc

Please sign in to comment.