Skip to content

Commit c777f3a

Browse files
committed
Delete options on startup. Fix thumbnail bg
1 parent 44e5279 commit c777f3a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/main/main.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,9 @@ ipcMain.on('electron-store-get-secret', async (event, val) => {
264264

265265
ipcMain.on('ipc-example', async (event, arg) => {
266266
store.set('apikey', process.env.STARTGG_API_KEY);
267+
store.delete('eventId')
268+
store.delete('station')
269+
store.delete('vodUrl')
267270
const msgTemplate = (pingPong: string) => `IPC test: ${pingPong}`;
268271
console.log(msgTemplate(arg));
269272
event.reply('ipc-example', msgTemplate('pong'));

src/renderer/pages/SetsView.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,7 @@ const SetsView = () => {
641641
<ThumbnailGenerator
642642
key={set.title + thumbnailColor}
643643
ref={ref}
644+
bgImage={thumbnailBg}
644645
bgColor={thumbnailColor}
645646
logo={thumbnailLogo}
646647
player1={set.player1}

0 commit comments

Comments
 (0)