Commit 0cd2a157 authored by chenhuaqing's avatar chenhuaqing

show error message for vip expired

parent a94a3d82
......@@ -199,6 +199,9 @@ object AcceleratorUtils {
override fun stateChanged(state: BaseService.State, profileName: String?, msg: String?) {
AcceleratorUtils.state = state
stateListener(state, getAccTime(), null)
if (state == BaseService.State.Stopped && !msg.isNullOrBlank()) {
ToastUtils.show(msg)
}
}
override fun onServiceConnected(service: IShadowsocksService) {
......
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