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