add delay for proxies

This commit is contained in:
Kr328 committed 2020-02-22 01:13:15 +08:00
1 parent ef42612c4b
commit e9a6bc2fbc
1 file changed
+3
@@ -17,6 +17,7 @@ import com.github.kr328.clash.preference.UiSettings
import com.github.kr328.clash.remote.withClash
import com.github.kr328.clash.utils.ScrollBinding
import kotlinx.android.synthetic.main.activity_proxies.*
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import kotlinx.coroutines.sync.Mutex
@@ -265,6 +266,8 @@ class ProxiesActivity : BaseActivity(), ScrollBinding.Callback {
scrollBinding.scrollMaster(selected)
}
delay(200)
refreshMutex.unlock()
}
}