refactor app registration with whisplay daemon

This commit is contained in:
Gabby Morgan
2026-06-03 23:57:43 -05:00
parent 3b5bac5d2c
commit 884325d1c6
2 changed files with 12 additions and 14 deletions
+3 -8
View File
@@ -117,17 +117,12 @@ class ChannelClient:
def _init_whisplay(self):
self.whisplay_interface = WhisplayInterface()
self.whisplay_interface.create_board(
app_id="lxst-client",
display_name="LXST Client",
icon="LC",
use_daemon_default_log=True,
)
self.whisplay_interface.create_board()
self.whisplay_interface.board.set_backlight(70)
if hasattr(self.whisplay_interface.board, "on_exit_request"):
self.board.on_exit_request(self._on_exit_request)
self.whisplay_interface.board.on_exit_request(self._on_exit_request)
if hasattr(self.whisplay_interface.board, "on_focus_revoked"):
self.board.on_focus_revoked(self._on_focus_revoked)
self.whisplay_interface.board.on_focus_revoked(self._on_focus_revoked)
self._load_fonts()
self._setup_whisplay_audio()