Fix Violation of Broken Functionality policy

This commit is contained in:
2dust
2024-10-08 10:25:39 +08:00
parent 649c1a022b
commit b673cd73ac
2 changed files with 2 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ android {
applicationId = "com.v2ray.ang"
minSdk = 21
targetSdk = 34
versionCode = 599
versionCode = 600
versionName = "1.9.6"
multiDexEnabled = true
splits {

View File

@@ -199,6 +199,7 @@ class MainActivity : BaseActivity(), NavigationView.OnNavigationItemSelectedList
fun startV2Ray() {
if (MmkvManager.getSelectServer().isNullOrEmpty()) {
toast(R.string.title_file_chooser)
return
}
V2RayServiceManager.startV2Ray(this)