コード整形

This commit is contained in:
tateisu 2022-06-15 11:12:33 +09:00
parent de2d75c150
commit 09e619b6ad
1 changed files with 2 additions and 4 deletions

View File

@ -322,10 +322,8 @@ suspend fun checkNoticifationAll(
createServerTimeoutNotification(context,
timeoutAccounts.sorted().joinToString(", ").ellipsizeDot3(256))
}
if (!hasError) {
if (!nextPollingRequired) {
PollingWorker2.cancelPolling(context)
}
if (!hasError && !nextPollingRequired) {
PollingWorker2.cancelPolling(context)
}
}