Skip to content

Commit

Permalink
fix: hide Vulkan option for users who don't have GPU
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-jan committed Dec 5, 2024
1 parent 38ff118 commit 7e28939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/screens/Settings/Advanced/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ const Advanced = () => {
)}

{/* Vulkan for AMD GPU/ APU and Intel Arc GPU */}
{!isMac && experimentalEnabled && (
{!isMac && gpuList.length && experimentalEnabled && (
<div className="flex w-full flex-col items-start justify-between gap-4 border-b border-[hsla(var(--app-border))] py-4 first:pt-0 last:border-none sm:flex-row">
<div className="space-y-1">
<div className="flex gap-x-2">
Expand Down

0 comments on commit 7e28939

Please sign in to comment.