You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Desktop: Fixed Sync Wizard logo images on Windows
This commit is contained in:
		| Before Width: | Height: | Size: 441 B After Width: | Height: | Size: 441 B | 
| Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB | 
| Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB | 
| @@ -138,9 +138,9 @@ const syncTargetNames: string[] = [ | ||||
|  | ||||
|  | ||||
| const logosImageNames: Record<string, string> = { | ||||
| 	'dropbox': 'Dropbox.svg', | ||||
| 	'joplinCloud': 'JoplinCloud.svg', | ||||
| 	'onedrive': 'OneDrive.svg', | ||||
| 	'dropbox': 'SyncTarget_Dropbox.svg', | ||||
| 	'joplinCloud': 'SyncTarget_JoplinCloud.svg', | ||||
| 	'onedrive': 'SyncTarget_OneDrive.svg', | ||||
| }; | ||||
|  | ||||
| export default function(props: Props) { | ||||
| @@ -274,7 +274,7 @@ export default function(props: Props) { | ||||
| 		const height = info.name !== 'joplinCloud' ? descriptionHeight : null; | ||||
|  | ||||
| 		const logoImageName = logosImageNames[info.name]; | ||||
| 		const logoImageSrc = logoImageName ? `${bridge().buildDir()}/images/syncTargetLogos/${logoImageName}` : ''; | ||||
| 		const logoImageSrc = logoImageName ? `${bridge().buildDir()}/images/${logoImageName}` : ''; | ||||
| 		const logo = logoImageSrc ? <SyncTargetLogo src={logoImageSrc}/> : null; | ||||
| 		const descriptionComp = <SyncTargetDescription height={height} ref={info.name === 'joplinCloud' ? joplinCloudDescriptionRef : null}>{info.description}</SyncTargetDescription>; | ||||
| 		const featuresComp = showJoplinCloudForm && info.name === 'joplinCloud' ? null : renderFeatures(info.name); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user