Fixed background-asset handling

This commit is contained in:
Frank 2023-12-19 12:22:43 +01:00
parent 7e8858c80c
commit 26fd631fd9

View file

@ -37,7 +37,8 @@ class Display {
DisplayInfo build() { DisplayInfo build() {
return new DisplayInfo( return new DisplayInfo(
icon, title, description, icon, title, description,
Optional.of(background), frame, showToast, announceChat, hidden background == null ? Optional.empty() : Optional.of(background),
frame, showToast, announceChat, hidden
); );
} }
} }