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

Method showChannelSelector

Tactility/Source/app/chat/ChatView.cpp:226–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226void ChatView::showChannelSelector() {
227 if (!channelPanel || !state) return;
228
229 std::string current = state->getCurrentChannel();
230 lv_textarea_set_text(channelInput, current.c_str());
231
232 lv_obj_add_flag(msgList, LV_OBJ_FLAG_HIDDEN);
233 lv_obj_add_flag(inputWrapper, LV_OBJ_FLAG_HIDDEN);
234 lv_obj_remove_flag(channelPanel, LV_OBJ_FLAG_HIDDEN);
235}
236
237void ChatView::hideChannelSelector() {
238 if (!channelPanel || !msgList || !inputWrapper) return;

Callers 1

onChannelClickedMethod · 0.95

Calls 1

getCurrentChannelMethod · 0.80

Tested by

no test coverage detected