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;
|
|
|
|
|
2021-12-24 02:30:14 +00:00
|
|
|
const char* BleIcon::GetIcon(Pinetime::Controllers::Ble::ConnectStates state) {
|
|
|
|
if (state == Pinetime::Controllers::Ble::ConnectStates::Connected)
|
2021-04-18 17:28:14 +00:00
|
|
|
return Symbols::bluetooth;
|
2021-12-24 02:30:14 +00:00
|
|
|
else if (state == Pinetime::Controllers::Ble::ConnectStates::Airplane)
|
|
|
|
return Symbols::airplane;
|
2021-04-18 17:28:14 +00:00
|
|
|
else
|
2021-12-24 02:30:14 +00:00
|
|
|
return Symbols::none;
|
|
|
|
}
|