Skip to content

fixed issue where .clear was being used in place of mainBG when image…#279

Merged
f3dm76 merged 1 commit into
exyte:mainfrom
fred-bowker:fix-mainBG-clear
May 27, 2026
Merged

fixed issue where .clear was being used in place of mainBG when image…#279
f3dm76 merged 1 commit into
exyte:mainfrom
fred-bowker:fix-mainBG-clear

Conversation

@fred-bowker

Copy link
Copy Markdown
Contributor

… background set.

.clear now localized to InputView and UIList only, recording buttons, reactions etc now correctly use mainBG

… background set.

.clear now localized to InputView and UIList only, recording buttons, reactions etc now correctly use mainBG
) {
self.style = style
self.images = images

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code was initially included so that the image background correctly was the background for input view, it worked but had the side effect that other components (recording button) that used mainBg also had there color set to clear

public let images: ChatTheme.Images
public let style: ChatTheme.Style

public var contentBG: Color {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this allows the .clear to be used instead of mainBG where needed, the InputView and UIList

@f3dm76 f3dm76 merged commit bd3de51 into exyte:main May 27, 2026
1 check passed
@f3dm76

f3dm76 commented May 27, 2026

Copy link
Copy Markdown
Collaborator

Thank you so much, @fred-bowker, have a marvellous day!

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.

2 participants