Show hotkeys on empty views

This commit is contained in:
Gregory Schier
2024-01-08 15:13:44 -08:00
parent 6f15d1352b
commit 312c01e405
8 changed files with 113 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
import { invoke } from '@tauri-apps/api';
import { invoke, shell } from '@tauri-apps/api';
import { useRef } from 'react';
import { useAppVersion } from '../hooks/useAppVersion';
import { useExportData } from '../hooks/useExportData';
@@ -79,6 +79,12 @@ export function SettingsDropdown() {
onSelect: () => invoke('check_for_updates'),
leftSlot: <Icon icon="update" />,
},
{
key: 'feedback',
label: 'Feedback',
onSelect: () => shell.open('https://yaak.canny.io'),
leftSlot: <Icon icon="chat" />,
},
]}
>
<IconButton size="sm" title="Request Options" icon="gear" className="pointer-events-auto" />