dyad pro users who disable it shouldn't see nudge messages (#330)

Fixes #272
This commit is contained in:
Will Chen
2025-06-03 23:58:34 -07:00
committed by GitHub
parent 9d1a0f7ad7
commit 2ba22e83e7
2 changed files with 25 additions and 19 deletions

View File

@@ -2,7 +2,7 @@ import fetch from "node-fetch"; // Electron main process might need node-fetch
import log from "electron-log";
import { createLoggedHandler } from "./safe_handle";
import { readSettings } from "../../main/settings"; // Assuming settings are read this way
import { UserBudgetInfoSchema } from "../ipc_types";
import { UserBudgetInfo, UserBudgetInfoSchema } from "../ipc_types";
const logger = log.scope("pro_handlers");
const handle = createLoggedHandler(logger);