Commit b5ce7883 authored by Mygod's avatar Mygod

Bugfix for previous commit

parent 360b425d
...@@ -166,7 +166,7 @@ trait BaseService extends Service { ...@@ -166,7 +166,7 @@ trait BaseService extends Service {
changeState(State.CONNECTING) 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) Utils.ThrowableFuture(connect)
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment