Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix background preview for default image #4403

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

WofWca
Copy link
Collaborator

@WofWca WofWca commented Dec 11, 2024

Closes #4399.

Tested a bit on the Electron version.

@WofWca WofWca force-pushed the wofwca/fix-default-background-preview branch 2 times, most recently from d6251d8 to d7426fb Compare December 11, 2024 21:04
@WofWca WofWca marked this pull request as ready for review December 11, 2024 21:04
@nicodh nicodh requested a review from maxphilippov December 11, 2024 22:43
Closes #4399.

The `false` case of the ternary is handled inside of
`getBackgroundImageStyle()`.
Now the preview styles are the same as for the actual chat
background element.
@WofWca WofWca force-pushed the wofwca/fix-default-background-preview branch from d7426fb to 96de8fa Compare December 17, 2024 12:16
@WofWca WofWca merged commit 47765bd into main Dec 17, 2024
5 of 11 checks passed
@WofWca WofWca deleted the wofwca/fix-default-background-preview branch December 17, 2024 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default wallpaper is not displayed in the preview.
2 participants