-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* β¬οΈ Bump version number to 1.9.3 * β¬οΈ Upgrade dependencies * π Fix #145 (#146) * π Fix options UI (#147) * π·οΈ Add type assertion to exported options * π Fix list bugs * π Fix v2 proxy server check * π Fix default servers editing * π Fix import of unknown settings * π§ Add `tsconfig.json` for IntelliSense * π¬ Add message to explain Chrome warnings * ποΈ Add deprecation warning for "Reset player on midroll" * π Tweak deprecation warning style * β¨ Add "Copy debug info" button to popup
- Loading branch information
1 parent
4c9cf69
commit 9f36e8b
Showing
11 changed files
with
903 additions
and
2,851 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Runtime } from "webextension-polyfill"; | ||
import store from "../../store"; | ||
|
||
export default function onInstalledResetUpdateFlag( | ||
details: Runtime.OnInstalledDetailsType | ||
) { | ||
if (details.reason !== "update") return; | ||
// Wait for the store to be ready (it may not be ready at extension startup). | ||
if (store.readyState !== "complete") | ||
return store.addEventListener("load", () => | ||
onInstalledResetUpdateFlag(details) | ||
); | ||
|
||
store.state.isUpdateAvailable = false; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.