2021-10-13 20:08:35 +00:00
|
|
|
#include "displayapp/screens/BleIcon.h"
|
|
|
|
#include "displayapp/screens/Symbols.h"
|
2020-03-14 15:33:47 +00:00
|
|
|
using namespace Pinetime::Applications::Screens;
|
|
|
|
|
2022-02-20 14:40:49 +00:00
|
|
|
const char* BleIcon::GetIcon(bool isRadioEnabled, bool isConnected) {
|
|
|
|
if(!isRadioEnabled) {
|
2021-12-24 02:30:14 +00:00
|
|
|
return Symbols::airplane;
|
2022-02-20 14:40:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if (isConnected) {
|
|
|
|
return Symbols::bluetooth;
|
|
|
|
}
|
|
|
|
|
|
|
|
return Symbols::none;
|
2021-12-24 02:30:14 +00:00
|
|
|
}
|