Skip to content

Commit

Permalink
Fix themer
Browse files Browse the repository at this point in the history
  • Loading branch information
n1ckoates authored Oct 18, 2024
1 parent 6746648 commit c72e850
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/Themer/src/editor.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ export const openEditor = async (css: string) => {
return { action: "deny" };
});

ipcMain.removeHandler("THEMER_GET_CSS");
ipcMain.handle("THEMER_GET_CSS", () => css);

win.loadURL(`data:text/html;base64,${editor}`);
};

Expand Down

0 comments on commit c72e850

Please sign in to comment.