switch save and cancel, make recipes available through menu, remove calibration tools in mock
This commit is contained in:
@@ -15,11 +15,14 @@ class MenuView(View, ButtonInterface):
|
||||
|
||||
def __init__(self, parent, im_size, center,
|
||||
bluetooth_pair_command=None,
|
||||
recipes_command=None,
|
||||
deactivate_command=None):
|
||||
self.deactivate_command = deactivate_command
|
||||
self.bluetooth_pair_command = bluetooth_pair_command
|
||||
self.recipes_command = recipes_command
|
||||
self.item_list = CarouselView(render_height=124, large_font_size=20)
|
||||
self._actions = [
|
||||
("Recipes", self.recipes_command),
|
||||
("BT Pair", self.bluetooth_pair_command),
|
||||
]
|
||||
self.item_list.items = [_make_text_item(label) for label, _ in self._actions]
|
||||
|
||||
Reference in New Issue
Block a user