diff --git a/apps/client/src/menus/custom-items/NoteColorPicker.tsx b/apps/client/src/menus/custom-items/NoteColorPicker.tsx index 08bc7c84a..847ae484e 100644 --- a/apps/client/src/menus/custom-items/NoteColorPicker.tsx +++ b/apps/client/src/menus/custom-items/NoteColorPicker.tsx @@ -8,6 +8,7 @@ import Color, { ColorInstance } from "color"; import Debouncer from "../../utils/debouncer"; import FNote from "../../entities/fnote"; import froca from "../../services/froca"; +import { isMobile } from "../../services/utils"; const COLOR_PALETTE = [ "#e64d4d", "#e6994d", "#e5e64d", "#99e64d", "#4de64d", "#4de699", @@ -62,13 +63,13 @@ export default function NoteColorPicker(props: NoteColorPickerProps) { } else { attributes.removeOwnedLabelByName(note, "color"); } - + setCurrentColor(color); } }, [note, currentColor]); return