add favorite keyboard shortcut

This commit is contained in:
Abhinav 2022-11-22 18:21:00 +05:30
parent f5255724a3
commit d9b623ab19

View file

@ -136,6 +136,10 @@ function PhotoViewer(props: Iprops) {
case 'F':
toggleFullscreen(photoSwipe);
break;
case 'l':
case 'L':
onFavClick(photoSwipe?.currItem as EnteFile);
break;
default:
break;
}