PrimeWidget: redeclaring __init__ unneeded

for https://github.com/commaai/openpilot/pull/35496
This commit is contained in:
Shane Smiskol
2025-06-08 22:07:35 -07:00
parent 7b4e2e2430
commit 9153f97900
-3
View File
@@ -12,9 +12,6 @@ class PrimeWidget(Widget):
PRIME_BG_COLOR = rl.Color(51, 51, 51, 255)
def __init__(self):
super().__init__()
def _render(self, rect):
if ui_state.prime_state.is_prime():
self._render_for_prime_user(rect)