Commit f679772d authored by Mygod's avatar Mygod

Don't show circular progress for FAB when resetting

parent fc7c4236
...@@ -710,7 +710,7 @@ class Shadowsocks ...@@ -710,7 +710,7 @@ class Shadowsocks
fab.setBackgroundTintList(greyTint) fab.setBackgroundTintList(greyTint)
fab.setImageResource(R.drawable.ic_cloud_queue) fab.setImageResource(R.drawable.ic_cloud_queue)
fab.setEnabled(false) fab.setEnabled(false)
fabProgressCircle.show() if (state == State.CONNECTED) fabProgressCircle.show() // ignore for stopped
setPreferenceEnabled(enabled = false) setPreferenceEnabled(enabled = false)
} }
state = s state = s
......
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