aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/settings/SettingBluetooth.h
diff options
context:
space:
mode:
authorJF <JF002@users.noreply.github.com>2024-03-15 09:20:19 +0100
committerGitHub <noreply@github.com>2024-03-15 09:20:19 +0100
commit4ca211289004f6270b69c2fab88d1143f3e7dc3d (patch)
treed880cd4600cb9ef3eeabe1be9049872dc281996b /src/displayapp/screens/settings/SettingBluetooth.h
parent7dbb8f54c6bb645ea72c6350dde87e29ad1d14b0 (diff)
Emit the message BleRadioEnableToggle to DisplayApp only if the enable state of the radio has actually changed. (#2037)
This fixes an issue where the BLE connected logo would disappear when opening and closing the BLE setting (without changing it) while InfiniTime was already connected to a companion app. Co-authored-by: JustScott <development@justscott.me>
Diffstat (limited to 'src/displayapp/screens/settings/SettingBluetooth.h')
-rw-r--r--src/displayapp/screens/settings/SettingBluetooth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/displayapp/screens/settings/SettingBluetooth.h b/src/displayapp/screens/settings/SettingBluetooth.h
index 1e3f9b81..0cf014f5 100644
--- a/src/displayapp/screens/settings/SettingBluetooth.h
+++ b/src/displayapp/screens/settings/SettingBluetooth.h
@@ -20,6 +20,7 @@ namespace Pinetime {
private:
DisplayApp* app;
+ Pinetime::Controllers::Settings& settings;
CheckboxList checkboxList;
};
}