mirror of https://github.com/gorhill/uBlock.git
Inform when filter lists are reloaded in logger
Related discussion: - https://github.com/uBlockOrigin/uBlock-issues/issues/2041#issuecomment-1585685791
This commit is contained in:
parent
2f0132c414
commit
aa507924f3
|
@ -834,6 +834,12 @@ self.addEventListener('hiddenSettingsChanged', ( ) => {
|
|||
|
||||
vAPI.storage.set({ 'availableFilterLists': µb.availableFilterLists });
|
||||
|
||||
logger.writeOne({
|
||||
realm: 'message',
|
||||
type: 'info',
|
||||
text: 'Reloading all filter lists: done'
|
||||
});
|
||||
|
||||
vAPI.messaging.broadcast({
|
||||
what: 'staticFilteringDataChanged',
|
||||
parseCosmeticFilters: µb.userSettings.parseAllABPHideFilters,
|
||||
|
@ -865,6 +871,12 @@ self.addEventListener('hiddenSettingsChanged', ( ) => {
|
|||
};
|
||||
|
||||
const onFilterListsReady = lists => {
|
||||
logger.writeOne({
|
||||
realm: 'message',
|
||||
type: 'info',
|
||||
text: 'Reloading all filter lists: start'
|
||||
});
|
||||
|
||||
µb.availableFilterLists = lists;
|
||||
|
||||
if ( vAPI.Net.canSuspend() ) {
|
||||
|
|
Loading…
Reference in New Issue