the second phase commit

This commit is contained in:
yuyl 2025-04-29 18:26:26 +08:00
parent efbcd71dd7
commit 3f4e2cc163

View File

@ -76,6 +76,7 @@ import com.localee.mireo.app.utils.DHStringUtils.getPublicRequest
import com.localee.mireo.app.utils.MsMMKVUtils
import com.localee.mireo.app.utils.NotificationUtils
import com.localee.mireo.app.utils.TranslatesUtils
import com.localee.mireo.app.utils.shouldShowNotification
import com.localee.mireo.app.utils.singleClick
import com.localee.mireo.shortapp.R
import com.lxj.xpopup.XPopup
@ -904,18 +905,18 @@ class HomeActivity : AppActivity(), NavigationAdapter.OnNavigationListener,
firebase()
openNotify()
} else {
// if (shouldShowNotification()) {
openNotification()
// }
if (shouldShowNotification()) {
openNotification()
}
}
} else {
if (NotificationUtils.isNotificationEnabled(this)) {
firebase()
openNotify()
} else {
// if (shouldShowNotification()) {
openNotification()
// }
if (shouldShowNotification()) {
openNotification()
}
}
}
}
@ -966,6 +967,7 @@ class HomeActivity : AppActivity(), NavigationAdapter.OnNavigationListener,
override fun onHttpSuccess(result: HttpData<Any>) {
}
override fun onHttpFail(throwable: Throwable) {
}
})