Skip to content

Commit

Permalink
🐛 fix: dynamic color
Browse files Browse the repository at this point in the history
  • Loading branch information
sanoojes committed Dec 28, 2024
1 parent 276b41c commit dc0616a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extension/components/settings/section/BackgroundSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ const BackgroundSection = () => {
checked: isUseLocalImage,
label: "Enable Local Image",
onChange: (value: boolean) => {
if (!value) {
clearSelectedLocalImage();
}
setUseLocalImage(value);
},
},
Expand Down

0 comments on commit dc0616a

Please sign in to comment.