feat(ball-settings): 统一图标弹窗并精简球显示

This commit is contained in:
Hermes
2026-04-20 22:32:31 +08:00
parent 256a8f716b
commit 068e4cdd3b
3 changed files with 87 additions and 224 deletions

View File

@@ -1387,7 +1387,8 @@ try {
if (!showIcon && textStr.length === 0) showIcon = true;
var showText = textStr.length > 0;
// # 用户要求:悬浮球本球不再显示文字,只保留图标内容
var showText = false;
if (showIcon || showText) {
var box = new android.widget.LinearLayout(context);
box.setOrientation(android.widget.LinearLayout.VERTICAL);