| 207 | } |
| 208 | |
| 209 | void View::update() { |
| 210 | if (state->hasConnectionError()) { |
| 211 | setLoading(false); |
| 212 | resetErrors(); |
| 213 | lv_label_set_text(connection_error, "Connection failed"); |
| 214 | lv_obj_remove_flag(connection_error, LV_OBJ_FLAG_HIDDEN); |
| 215 | } |
| 216 | } |
| 217 | |
| 218 | } // namespace |
no test coverage detected