silence save notifications when updating the filters
This commit is contained in:
		
							parent
							
								
									43322a8208
								
							
						
					
					
						commit
						7c122003a0
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -87,8 +87,8 @@ export default class filters { | ||||||
| 						// Only work when the filter is valid.
 | 						// Only work when the filter is valid.
 | ||||||
| 						if (result) { | 						if (result) { | ||||||
| 							// Write the filter to storage.
 | 							// Write the filter to storage.
 | ||||||
| 							await write(["filters", filter_URL], result, -1); | 							await write(["filters", filter_URL], result, -1, {"silent": true}); | ||||||
| 							logging.log(texts.localized(`settings_filters_update_status_complete`,null,[filter_URL])); | 							new logging(texts.localized(`settings_filters_update_status_complete`,null,[filter_URL])); | ||||||
|                              |                              | ||||||
| 							// Add the filter to the sync list.
 | 							// Add the filter to the sync list.
 | ||||||
| 							if ((await read(["settings", `filters`])) ? !((Object.keys(await read(["settings", `filters`]))).includes(filter_URL)) : true) { | 							if ((await read(["settings", `filters`])) ? !((Object.keys(await read(["settings", `filters`]))).includes(filter_URL)) : true) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue