chore: update version to 2.2.0 and remove console log from Header component

This commit is contained in:
troyeguo
2025-10-26 10:05:12 +08:00
parent cf745da11c
commit 3895cd0dd8
2 changed files with 1 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "koodo-reader",
"main": "main.js",
"version": "2.1.9",
"version": "2.2.0",
"description": "Koodo Reader is a cross-platform ebook reader",
"author": {
"name": "App by Troye",

View File

@@ -131,7 +131,6 @@ class Header extends React.Component<HeaderProps, HeaderState> {
});
this.props.handleCloudSyncFunc(this.handleCloudSync);
document.addEventListener("visibilitychange", async (event) => {
console.log(event, "visibilitychange");
if (document.visibilityState === "visible") {
this.handleFinishReading();
}