Skip to content

Commit

Permalink
fix a UI issue
Browse files Browse the repository at this point in the history
  • Loading branch information
madeye committed Jul 26, 2015
1 parent 7626c11 commit aae068b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/main/scala/com/github/shadowsocks/Shadowsocks.scala
Original file line number Diff line number Diff line change
Expand Up @@ -932,10 +932,14 @@ class Shadowsocks

private def recovery() {
val h = showProgress(getString(R.string.recovering))
serviceStop()
spawn {
reset()
h.sendEmptyMessage(0)
handler.post(new Runnable {
override def run() {
serviceStop
h.sendEmptyMessage(0)
}
})
}
}

Expand Down

0 comments on commit aae068b

Please sign in to comment.