Merge branch 'dev_robobus-d_241202_6.8.4' into dev_robobus-d_241202_6.8.4_autopilot

This commit is contained in:
xyz
2025-01-02 10:12:27 +08:00
3 changed files with 13 additions and 4 deletions

View File

@@ -119,7 +119,7 @@ class LoginProvider : LoginService {
}
if (loginFragment is ILoginViewCallback) {
UiThreadHandler.post({
if (loginFragment!!.isAdded) {
if (loginFragment?.isAdded==true) {
(loginFragment as ILoginViewCallback).showErrorInfo(businessInfo)
}
},UiThreadHandler.MODE.QUEUE)
@@ -142,7 +142,7 @@ class LoginProvider : LoginService {
changeStatus(checkAllEnv)
UiThreadHandler.post({
changeStatus(checkAllEnv)
if (loginFragment!!.isAdded) {
if (loginFragment?.isAdded==true) {
(loginFragment as ILoginViewCallback).checkAllEnv(checkAllEnv)
}
},UiThreadHandler.MODE.QUEUE)
@@ -153,7 +153,7 @@ class LoginProvider : LoginService {
}
override fun changeStatus(currentStatus: String) {
if (loginFragment!!.isAdded) {
if (loginFragment?.isAdded==true) {
(loginFragment as ILoginViewCallback).updateStatus(currentStatus)
}
}