parent
c431c95516
commit
12760fb010
|
|
@ -233,11 +233,14 @@ open class HomeFragment : BaseFragment(), CoroutineScope by CoroutineScope(Dispa
|
|||
RxToast.info(resources.getString(R.string.AccountExpired))
|
||||
return@setOnClickListener
|
||||
}
|
||||
val getIsGlo= MMKV.defaultMMKV().decodeBool(BZYConstants.MMKV_KEY_GLOBAL_MODEL, false)
|
||||
if(getIsGlo){
|
||||
RxToast.info(resources.getString(R.string.GolbalModeNoChoose))
|
||||
return@setOnClickListener
|
||||
if(clashRunning){
|
||||
val getIsGlo= MMKV.defaultMMKV().decodeBool(BZYConstants.MMKV_KEY_GLOBAL_MODEL, false)
|
||||
if(getIsGlo){
|
||||
RxToast.info(resources.getString(R.string.GolbalModeNoChoose))
|
||||
return@setOnClickListener
|
||||
}
|
||||
}
|
||||
|
||||
val intent = Intent(CommonUtils.getApp(), NodeGroupActivity::class.java)
|
||||
if (!TextUtils.isEmpty(newUuid)) {
|
||||
intent.putExtra(BZYConstants.MMKV_KEY_CURRENT_NODE, newUuid)
|
||||
|
|
|
|||
|
|
@ -422,8 +422,6 @@ In order to implement and strengthen awareness of personal information security
|
|||
<string name="MembershipValidityPeriod">Membership Validity Period:</string>
|
||||
<string name="Gift">Gift</string>
|
||||
<string name="closeRunningChoose">Please disconnect and switch modes</string>
|
||||
|
||||
<string name="OpenSwitchingSourceModel">Please enable acceleration before switching to global mode</string>
|
||||
|
||||
<string name="GolbalModeNoChoose">Switching nodes is not currently supported in global mode. Please switch to smart mode!</string>
|
||||
<string name="GolbalModeNoChoose">Switching nodes is not currently supported in global acceleration mode. Please switch to smart mode!</string>
|
||||
</resources>
|
||||
|
|
@ -415,5 +415,5 @@
|
|||
<string name="Gift">禮品</string>
|
||||
<string name="closeRunningChoose">請斷開連線後在進行模式切換</string>
|
||||
<string name="OpenSwitchingSourceModel">請開啟加速後在進行全域模式切換</string>
|
||||
<string name="GolbalModeNoChoose">全域模式下暫不支援切換節點,請切換至智慧型模式!</string>
|
||||
<string name="GolbalModeNoChoose">全域模式加速下暫不支援切換節點,請切換至智慧模式!</string>
|
||||
</resources>
|
||||
|
|
@ -413,5 +413,5 @@
|
|||
<string name="Gift">禮品</string>
|
||||
<string name="closeRunningChoose">請斷開連線後在進行模式切換</string>
|
||||
<string name="OpenSwitchingSourceModel">請開啟加速後在進行全域模式切換</string>
|
||||
<string name="GolbalModeNoChoose">全域模式下暫不支援切換節點,請切換至智慧型模式!</string>
|
||||
<string name="GolbalModeNoChoose">全域模式加速下暫不支援切換節點,請切換至智慧模式!</string>
|
||||
</resources>
|
||||
|
|
@ -480,5 +480,5 @@
|
|||
您可以获得30天会员(仅限新用户订购有效)</string>
|
||||
<string name="LinkSharetxt">点击分享</string>
|
||||
<string name="OpenSwitchingSourceModel">请开启加速后在进行全局模式切换</string>
|
||||
<string name="GolbalModeNoChoose">全局模式下暂不支持切换节点,请切换至智能模式!</string>
|
||||
<string name="GolbalModeNoChoose">全局模式加速下暂不支持切换节点,请切换至智能模式!</string>
|
||||
</resources>
|
||||
Loading…
Reference in New Issue