remove await from localized symbols
This commit is contained in:
		
							parent
							
								
									026e6d2771
								
							
						
					
					
						commit
						65a6758d35
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -35,7 +35,7 @@ class IconIndicator { | |||
| 						global.read([`sites`, LOCATION, `status`], -1).then(async (STATUS) => { | ||||
| 							if (STATUS)  { | ||||
| 								(STATUS[`error`]) ? BrowserIcon.set({ | ||||
| 										"BadgeText": await (new texts(`extensionIcon_error`)).symbol, | ||||
| 										"BadgeText": (new texts(`extensionIcon_error`)).symbol, | ||||
| 										"BadgeBackgroundColor": ICON_COLORS[`error`] | ||||
| 									}, {"tabId": ID}) : false; | ||||
| 	 | ||||
|  | @ -43,7 +43,7 @@ class IconIndicator { | |||
| 									(STATUS[`done`] >= 1) | ||||
| 										? global.read([`sites`, LOCATION, `analysis`, `Rating`, `Trust`]).then(async (RESULTS) => { | ||||
| 										(RESULTS) ? BrowserIcon.set({ | ||||
| 												"BadgeText": await (new texts(`extensionIcon_product_`.concat(RESULTS))).symbol, | ||||
| 												"BadgeText": (new texts(`extensionIcon_product_`.concat(RESULTS))).symbol, | ||||
| 												"BadgeBackgroundColor": ICON_COLORS[`product_`.concat(RESULTS)] | ||||
| 											}, {"tabId": ID}) : false; | ||||
| 										}) | ||||
|  | @ -58,7 +58,7 @@ class IconIndicator { | |||
| 					} | ||||
| 
 | ||||
| 					BrowserIcon.set({ | ||||
| 							"BadgeText": await (new texts(`extensionIcon_website_loading`)).symbol, | ||||
| 							"BadgeText": (new texts(`extensionIcon_website_loading`)).symbol, | ||||
| 							"BadgeBackgroundColor": ICON_COLORS[`loading`] | ||||
| 						}, {"tabId": TAB.id}); | ||||
| 		 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue