aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/settings/SettingBluetooth.h
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2023-01-22 11:38:52 +0200
committerRiku Isokoski <riksu9000@gmail.com>2023-01-29 09:55:54 +0200
commit32875944f9835fce011a972b590d5ee0c8525b21 (patch)
treef4748ff0782947f2cf8dfd3575eae3f044c999bc /src/displayapp/screens/settings/SettingBluetooth.h
parent4b2a61ea4ac9e3faf8fac0c871c9c998e8d2dd59 (diff)
SettingBluetooth: Use CheckboxList
Diffstat (limited to 'src/displayapp/screens/settings/SettingBluetooth.h')
-rw-r--r--src/displayapp/screens/settings/SettingBluetooth.h9
1 files changed, 2 insertions, 7 deletions
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;
};
}
}