From a7a722721cc10036196c619976f6fbf0ff199579 Mon Sep 17 00:00:00 2001 From: level <1364007522@qq.com> Date: Wed, 7 May 2025 17:49:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E5=8F=A3=E4=BB=A4=E5=A4=8D?= =?UTF-8?q?=E5=88=B6=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yingmao/clash/act/ActivityActivity.kt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/com/yingmao/clash/act/ActivityActivity.kt b/app/src/main/java/com/yingmao/clash/act/ActivityActivity.kt index fa81a93..d4418ce 100644 --- a/app/src/main/java/com/yingmao/clash/act/ActivityActivity.kt +++ b/app/src/main/java/com/yingmao/clash/act/ActivityActivity.kt @@ -1,5 +1,6 @@ package com.yingmao.clash.act +import android.annotation.SuppressLint import android.content.ClipData import android.content.ClipboardManager import android.content.Context @@ -95,14 +96,12 @@ class ActivityActivity : BaseActivity() { } + @SuppressLint("SetTextI18n") private fun showActDialog(bean: Activity_) { var command = MMKV.defaultMMKV().decodeString(BZYConstants.MMKV_KEY_VPN_UserCommand, "")!! -// if (TextUtils.isEmpty(command)){ -// command= MainApplication.getUserInfo()?.userCommand!! -// } - command = resources.getString(R.string.LeadMembers)+"${command}" + command = bean.copyContent+ command copyToClipboard(command) - var act_dialog = MaterialDialog(this@ActivityActivity).show { + MaterialDialog(this@ActivityActivity).show { this.cancelable(false) cornerRadius(res = R.dimen.dp_10) customView(