summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/BleIcon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/displayapp/screens/BleIcon.cpp')
-rw-r--r--src/displayapp/screens/BleIcon.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/displayapp/screens/BleIcon.cpp b/src/displayapp/screens/BleIcon.cpp
index 5058f3e..019f803 100644
--- a/src/displayapp/screens/BleIcon.cpp
+++ b/src/displayapp/screens/BleIcon.cpp
@@ -2,9 +2,14 @@
#include "displayapp/screens/Symbols.h"
using namespace Pinetime::Applications::Screens;
-const char* BleIcon::GetIcon(bool isConnected) {
- if (isConnected)
+const char* BleIcon::GetIcon(bool isRadioEnabled, bool isConnected) {
+ if(!isRadioEnabled) {
+ return Symbols::airplane;
+ }
+
+ if (isConnected) {
return Symbols::bluetooth;
- else
- return "";
-} \ No newline at end of file
+ }
+
+ return Symbols::none;
+}