[feat] add file transfer button to control bar

This commit is contained in:
dijunkun
2025-12-18 01:54:03 +08:00
parent 875fea88ee
commit e7bdf42694
8 changed files with 49 additions and 20 deletions

View File

@@ -1340,8 +1340,8 @@ void Render::MainLoop() {
remote_action.i.host_name_size = host_name.size();
std::string msg = remote_action.to_json();
int ret =
SendDataFrame(peer_, msg.data(), msg.size(), data_label_.c_str());
int ret = SendDataFrame(peer_, msg.data(), msg.size(),
data_label_.c_str(), false);
FreeRemoteAction(remote_action);
if (0 == ret) {
need_to_send_host_info_ = false;