Fixed background-asset handling
This commit is contained in:
parent
7e8858c80c
commit
26fd631fd9
1 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,8 @@ class Display {
|
|||
DisplayInfo build() {
|
||||
return new DisplayInfo(
|
||||
icon, title, description,
|
||||
Optional.of(background), frame, showToast, announceChat, hidden
|
||||
background == null ? Optional.empty() : Optional.of(background),
|
||||
frame, showToast, announceChat, hidden
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue