一键连

1.全局模式时候在不加速的时候可以选择节点
This commit is contained in:
level 2025-12-10 19:05:00 +08:00
parent 12760fb010
commit 725656f833
2 changed files with 2 additions and 7 deletions

View File

@ -89,8 +89,8 @@ class MainApplication : Application() {
mainApplication.updateNotificationChannels()
//错误日志上传捕获
val crashCatchHandler: CrashCatchHandler = CrashCatchHandler.getInstance() //获得单例
crashCatchHandler.init(mainApplication) //初始化,传入context
// val crashCatchHandler: CrashCatchHandler = CrashCatchHandler.getInstance() //获得单例
// crashCatchHandler.init(mainApplication) //初始化,传入context
if (DeviceID.supportedOAID(mainApplication)) {
// 获取OAID/AAID异步回调
DeviceID.getOAID(mainApplication, object : IGetter {

View File

@ -263,11 +263,6 @@ open class HomeFragment : BaseFragment(), CoroutineScope by CoroutineScope(Dispa
}
tvGlobalMode.setOnClickListener {
if (!clashRunning) {
RxToast.info(resources.getString(R.string.OpenSwitchingSourceModel))
return@setOnClickListener
}
val getIsGlo= MMKV.defaultMMKV().decodeBool(BZYConstants.MMKV_KEY_GLOBAL_MODEL, false)
Log.d("clGlobalModel ==>${getIsGlo}")
if (!getIsGlo) {