更改口令复制内容
This commit is contained in:
parent
b908465db1
commit
a7a722721c
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue