InfiniTime.git

ref: 0195ece317d15bcba7dfbd74b58bb8dbcd3bca0a

src/DisplayApp/Screens/BleIcon.cpp


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#include "BleIcon.h"

using namespace Pinetime::Applications::Screens;


extern lv_img_dsc_t ck_os_bt_connected;
extern lv_img_dsc_t ck_os_bt_disconnected;

lv_img_dsc_t *BleIcon::GetIcon(bool isConnected) {
  if(isConnected) return &ck_os_bt_connected;
  else return &ck_os_bt_disconnected;
}