bug fix :vpn初始化关闭之后关闭之后未正常关闭dialog
This commit is contained in:
parent
7a4cdff588
commit
e5e467f981
|
|
@ -254,7 +254,6 @@ class NewAccFragment : BaseFragment(), CoroutineScope by CoroutineScope(Dispatch
|
|||
clickOnLink.setBackgroundResource(R.drawable.home_circle_select)
|
||||
InTheLink.setImageResource(R.mipmap.ic_click)
|
||||
ClickTheLink.text=resources.getString(R.string.CloseConnection)
|
||||
hideLoading()
|
||||
}
|
||||
accelerateViewModel.appStartupStatus()
|
||||
}
|
||||
|
|
@ -264,7 +263,6 @@ class NewAccFragment : BaseFragment(), CoroutineScope by CoroutineScope(Dispatch
|
|||
clickOnLink.setBackgroundResource(R.drawable.home_circle_connecting)
|
||||
InTheLink.setImageResource(R.mipmap.ic_click)
|
||||
ClickTheLink.text=resources.getString(R.string.CloseConnection)
|
||||
hideLoading()
|
||||
}
|
||||
|
||||
accelerateViewModel.appStartupStatus()
|
||||
|
|
@ -274,6 +272,9 @@ class NewAccFragment : BaseFragment(), CoroutineScope by CoroutineScope(Dispatch
|
|||
stop_u_timer()
|
||||
e.printStackTrace()
|
||||
}
|
||||
withContext(Dispatchers.Main){
|
||||
hideLoading()
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue