forked from open-webui/open-webui
		
	Fix: Restore Gravatar functionality, add button initials, toast duration
- Restore Gravatar functionality - Add new button for "Use Initials" - Set both buttons to use text-left class - Update toast property autoClose to duration (wrong library, my bad!) - Update toast messages to clarify that this isn't "Gravatar" but "avatar" - Add i18n text to en-US/translation.json
This commit is contained in:
		
							parent
							
								
									bee0338763
								
							
						
					
					
						commit
						924ebf035b
					
				
					 3 changed files with 16 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -46,11 +46,11 @@
 | 
			
		|||
		if (!canvasPixelTest()) {
 | 
			
		||||
			toast.info(
 | 
			
		||||
				$i18n.t(
 | 
			
		||||
					'Fingerprint spoofing detected: default profile picture set. Disable to access Initial gravatar!'
 | 
			
		||||
					'Fingerprint spoofing detected: default profile picture set. Disable to access Initial avatar!'
 | 
			
		||||
				),
 | 
			
		||||
				{
 | 
			
		||||
					position: 'bottom-center',
 | 
			
		||||
					autoClose: 1000 * 10
 | 
			
		||||
					duration: 1000 * 10
 | 
			
		||||
				}
 | 
			
		||||
			);
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue