MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / updateScanning

Method updateScanning

Tactility/Source/app/wifimanage/View.cpp:245–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245void View::updateScanning() {
246 if (state->getRadioState() == service::wifi::RadioState::On && state->isScanning()) {
247 lv_obj_remove_flag(scanning_spinner, LV_OBJ_FLAG_HIDDEN);
248 } else {
249 lv_obj_add_flag(scanning_spinner, LV_OBJ_FLAG_HIDDEN);
250 }
251}
252
253void View::updateWifiToggle() {
254 lv_obj_clear_state(enable_switch, LV_STATE_ANY);

Callers

nothing calls this directly

Calls 2

getRadioStateMethod · 0.45
isScanningMethod · 0.45

Tested by

no test coverage detected