update dependencies

This commit is contained in:
2024-08-12 23:21:57 +06:00
parent 3bd4a7a245
commit 3845f6e0c5
5 changed files with 31 additions and 10 deletions

View File

@@ -0,0 +1,10 @@
package dev.inmo.krontab
import android.annotation.SuppressLint
import androidx.work.ListenableWorker
@SuppressLint("RestrictedApi")
internal fun ListenableWorker.Result.isSuccess() = this is ListenableWorker.Result.Success
@SuppressLint("RestrictedApi")
internal fun ListenableWorker.Result.isFailure() = this is ListenableWorker.Result.Failure