mirror of
https://github.com/yggdrasil-network/crispa-android.git
synced 2025-01-22 07:56:30 +00:00
1. allow empty peer list for WiFi Direct mode
This commit is contained in:
parent
b09f180020
commit
6ee736cf56
@ -224,10 +224,11 @@ class MainActivity : AppCompatActivity() {
|
||||
super.onActivityResult(requestCode, resultCode, data)
|
||||
|
||||
if (requestCode == VPN_REQUEST_CODE && resultCode== Activity.RESULT_OK){
|
||||
/*
|
||||
if(currentPeers.isEmpty()){
|
||||
showToast("No peers selected!")
|
||||
return
|
||||
}
|
||||
}*/
|
||||
val intent = Intent(this, YggdrasilTunService::class.java)
|
||||
val TASK_CODE = 100
|
||||
val pi = createPendingResult(TASK_CODE, intent, 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user