minor ui improvement

This commit is contained in:
arm64v8a
2023-05-22 12:32:37 +09:00
parent 68fecb7669
commit f18d1c97e9
9 changed files with 69 additions and 40 deletions

View File

@@ -602,7 +602,7 @@ namespace NekoGui {
// mux common
auto needMux = ent->type == "vmess" || ent->type == "trojan" || ent->type == "vless" || ent->type == "shadowsocks";
needMux &= !dataStore->mux_protocol.isEmpty() && dataStore->mux_concurrency > 0;
needMux &= dataStore->mux_concurrency > 0;
if (stream != nullptr) {
if (IS_NEKO_BOX) {