bug fix :vpn初始化关闭之后关闭之后未正常关闭dialog
This commit is contained in:
parent
9b57d51a1a
commit
6e65106408
|
|
@ -273,21 +273,17 @@ open class NewAccFragment : BaseFragment(), CoroutineScope by CoroutineScope(Dis
|
|||
stateChanged(Clash_Starting, true)
|
||||
context?.startClashService()
|
||||
accelerateViewModel.appStartupStatus()
|
||||
withContext(Dispatchers.Main){
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
}else{
|
||||
accelerateViewModel.appStartupStatus()
|
||||
withContext(Dispatchers.Main){
|
||||
hideLoading()
|
||||
}
|
||||
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
stopUTimer()
|
||||
e.printStackTrace()
|
||||
}
|
||||
withContext(Dispatchers.Main){
|
||||
hideLoading()
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue