Skip to content

Commit 84c117d

Browse files
committed
chore(android): CropView updateProgress must be called on main thread
1 parent 9a07283 commit 84c117d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • plugin-nativeprocessor/platforms/android/java/com/akylas/documentscanner

plugin-nativeprocessor/platforms/android/java/com/akylas/documentscanner/CropView.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0
234234

235235
}
236236

237+
@UiThread
237238
fun updateProgress(hash: Long, i: Int) {
238239
if (i == 0 || i == 100) {
239240
autoScanProgress.remove(hash)

0 commit comments

Comments
 (0)