Remove old limitation to only run on certain browsers
Execute on all browsers besides Safari as it does not support chrome.storage.local.get with an empty key https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/StorageArea/get
This commit is contained in:
parent
35b480af5b
commit
d7f71aa0b6
|
@ -739,11 +739,9 @@ export default class MainBackground {
|
|||
}
|
||||
|
||||
async reseedStorage() {
|
||||
if (
|
||||
!this.platformUtilsService.isChrome() &&
|
||||
!this.platformUtilsService.isVivaldi() &&
|
||||
!this.platformUtilsService.isOpera()
|
||||
) {
|
||||
// Skipping Safari as it does not support retrieving all data from localStorage via an empty key
|
||||
// https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/StorageArea/get
|
||||
if (this.platformUtilsService.isSafari) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue