some clear-ups
This commit is contained in:
		
							parent
							
								
									bb2e49515d
								
							
						
					
					
						commit
						842f9b7058
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -535,7 +535,7 @@ export function getAccentColor() { | |||
|             const hexColor = `#${toHex(r255)}${toHex(g255)}${toHex(b255)}`; | ||||
|             return hexColor; | ||||
|         } | ||||
|         return undefined; | ||||
|         return ""; | ||||
|     } else { | ||||
|         return `#${systemPreferences.getAccentColor?.() || ""}`; | ||||
|     } | ||||
|  |  | |||
|  | @ -48,7 +48,7 @@ async function changeIcon(iconName, settings) { | |||
|             return; | ||||
|         case "invalid": | ||||
|             Toasts.show({ | ||||
|                 message: "Please select a valid .png or .jpg image!", | ||||
|                 message: "Please select a valid .png, .jpg or .svg image!", | ||||
|                 id: Toasts.genId(), | ||||
|                 type: Toasts.Type.FAILURE | ||||
|             }); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Oleh Polisan
						Oleh Polisan