| 243 | } |
| 244 | |
| 245 | void 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 | |
| 253 | void View::updateWifiToggle() { |
| 254 | lv_obj_clear_state(enable_switch, LV_STATE_ANY); |
nothing calls this directly
no test coverage detected