| 185 | } |
| 186 | |
| 187 | void ChatView::refreshMessageList() { |
| 188 | if (!msgList || !state) return; |
| 189 | |
| 190 | lv_obj_clean(msgList); |
| 191 | auto filtered = state->getFilteredMessages(); |
| 192 | for (const auto& msg : filtered) { |
| 193 | addMessageToList(msgList, msg); |
| 194 | } |
| 195 | lv_obj_scroll_to_y(msgList, LV_COORD_MAX, LV_ANIM_OFF); |
| 196 | updateToolbarTitle(); |
| 197 | } |
| 198 | |
| 199 | void ChatView::showSettings(const ChatSettingsData& current) { |
| 200 | if (!settingsPanel) return; |
no test coverage detected