refactor: prettier changes

This commit is contained in:
lilezek
2024-04-30 11:24:35 +02:00
parent a16a30761e
commit e79b6f1391
16 changed files with 380 additions and 332 deletions

View File

@@ -45,7 +45,7 @@ const cancelGameDownload = async (
game.status !== GameStatus.Seeding
) {
Downloader.cancelDownload();
if (result.affected) WindowManager.mainWindow.setProgressBar(-1);
if (result.affected) WindowManager.mainWindow?.setProgressBar(-1);
}
});
};

View File

@@ -1,4 +1,4 @@
import { getSteamGameIconUrl, writePipe } from "@main/services";
import { getSteamGameIconUrl } from "@main/services";
import { gameRepository, repackRepository } from "@main/repository";
import { registerEvent } from "../register-event";