Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions compressor/src/main/java/id/zelory/compressor/Compressor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import kotlin.coroutines.CoroutineContext
* GitHub : https://github.com/zetbaitsu
*/
object Compressor {
suspend fun compress(
fun compress(
context: Context,
imageFile: File,
coroutineContext: CoroutineContext = Dispatchers.IO,
Expand All @@ -30,4 +30,4 @@ object Compressor {
}
return@withContext result
}
}
}