import { motion } from "motion/react" import { AppService } from "@bindings/firefly-launcher/internal/app-service" import { toast } from "react-toastify" import useSettingStore from "@/stores/settingStore" export default function CloseModal({ isOpen, onClose }: { isOpen: boolean onClose: () => void }) { if (!isOpen) return null const { closingOption, setClosingOption } = useSettingStore() return (
Do you want to minimize the application to the system tray or close the application?