Bugfix for previous commit

This commit is contained in:
Mygod
2016-07-18 15:27:55 +08:00
parent 360b425d47
commit b5ce788353
@@ -166,7 +166,7 @@ trait BaseService extends Service {
changeState(State.CONNECTING)
if (profile.isMethodUnsafe) Toast.makeText(this, R.string.method_unsafe, Toast.LENGTH_LONG).show
if (profile.isMethodUnsafe) handler.post(() => Toast.makeText(this, R.string.method_unsafe, Toast.LENGTH_LONG).show)
Utils.ThrowableFuture(connect)
}