2021-10-13 16:08:35 -04:00
|
|
|
#include "displayapp/screens/BleIcon.h"
|
|
|
|
#include "displayapp/screens/Symbols.h"
|
2020-03-14 11:33:47 -04:00
|
|
|
using namespace Pinetime::Applications::Screens;
|
|
|
|
|
2021-12-23 21:30:14 -05:00
|
|
|
const char* BleIcon::GetIcon(Pinetime::Controllers::Ble::ConnectStates state) {
|
|
|
|
if (state == Pinetime::Controllers::Ble::ConnectStates::Connected)
|
2021-04-18 13:28:14 -04:00
|
|
|
return Symbols::bluetooth;
|
2021-12-23 21:30:14 -05:00
|
|
|
else if (state == Pinetime::Controllers::Ble::ConnectStates::Airplane)
|
|
|
|
return Symbols::airplane;
|
2021-04-18 13:28:14 -04:00
|
|
|
else
|
2021-12-23 21:30:14 -05:00
|
|
|
return Symbols::none;
|
|
|
|
}
|