Update view.py

Signed-off-by: Rai <58925163+rai68@users.noreply.github.com>
This commit is contained in:
Rai
2024-03-04 20:41:19 +10:00
committed by GitHub
parent f2cf34a8b9
commit de2cdaa3c9

View File

@ -68,7 +68,7 @@ class View(object):
'line1': Line(self._layout['line1'], color=BLACK), 'line1': Line(self._layout['line1'], color=BLACK),
'line2': Line(self._layout['line2'], color=BLACK), 'line2': Line(self._layout['line2'], color=BLACK),
'face': Text(value=faces.SLEEP, position=(20, 20), color=BLACK, font=fonts.Huge), 'face': Text(value=faces.SLEEP, position=(config['ui']['faces']['position_x'], config['ui']['faces']['position_y']), color=BLACK, font=fonts.Huge, png=config['ui']['faces']['png']),
# 'friend_face': Text(value=None, position=self._layout['friend_face'], font=fonts.Bold, color=BLACK), # 'friend_face': Text(value=None, position=self._layout['friend_face'], font=fonts.Bold, color=BLACK),
'friend_name': Text(value=None, position=self._layout['friend_name'], font=fonts.BoldSmall, color=BLACK), 'friend_name': Text(value=None, position=self._layout['friend_name'], font=fonts.BoldSmall, color=BLACK),