bug fix :vpn初始化关闭之后关闭之后未正常关闭dialog

This commit is contained in:
level 2025-07-21 11:39:49 +08:00
parent 9b57d51a1a
commit 6e65106408
1 changed files with 3 additions and 7 deletions

View File

@ -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()
}
}
}