From 32875944f9835fce011a972b590d5ee0c8525b21 Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Sun, 22 Jan 2023 11:38:52 +0200 Subject: SettingBluetooth: Use CheckboxList --- src/displayapp/screens/settings/SettingBluetooth.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/displayapp/screens/settings/SettingBluetooth.h') diff --git a/src/displayapp/screens/settings/SettingBluetooth.h b/src/displayapp/screens/settings/SettingBluetooth.h index 35efcafe..611a0d5c 100644 --- a/src/displayapp/screens/settings/SettingBluetooth.h +++ b/src/displayapp/screens/settings/SettingBluetooth.h @@ -6,6 +6,7 @@ #include "components/settings/Settings.h" #include "displayapp/screens/Screen.h" +#include "displayapp/screens/CheckboxList.h" namespace Pinetime { @@ -17,14 +18,8 @@ namespace Pinetime { SettingBluetooth(DisplayApp* app, Pinetime::Controllers::Settings& settingsController); ~SettingBluetooth() override; - void OnBluetoothEnabled(lv_event_t event); - void OnBluetoothDisabled(lv_event_t event); - private: - Controllers::Settings& settingsController; - lv_obj_t* cbEnabled; - lv_obj_t* cbDisabled; - bool priorMode; + CheckboxList checkboxList; }; } } -- cgit v1.2.3-70-g09d2