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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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 from 3fd30ed to d6251d8 Compare December 11, 2024 20:58
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 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
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.
1 participant