bug fix :vpn初始化关闭之后未正常关闭dialog
This commit is contained in:
parent
ae1e837055
commit
662bfcb252
|
|
@ -569,20 +569,17 @@ class HomeFragment : BaseFragment(), CoroutineScope by CoroutineScope(Dispatcher
|
|||
stateChanged(Clash_Starting, true)
|
||||
context?.startClashService()
|
||||
mainAtyVM.appStartupStatus()
|
||||
withContext(Dispatchers.Main) {
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
} else {
|
||||
mainAtyVM.appStartupStatus()
|
||||
withContext(Dispatchers.Main) {
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
stopUpLoadTimer()
|
||||
e.printStackTrace()
|
||||
}
|
||||
withContext(Dispatchers.Main) {
|
||||
hideLoading()
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue