Change consumme by consume

This commit is contained in:
J-Jamet
2020-09-13 10:25:01 +02:00
parent 6e29fe2932
commit 7ae58ea7ea

View File

@@ -53,7 +53,7 @@ class AttachmentFileBinderManager(private val activity: FragmentActivity) {
AttachmentState.COMPLETE,
AttachmentState.ERROR -> {
// Finish the action when capture by activity
consummeAttachmentAction(entryAttachmentState)
consumeAttachmentAction(entryAttachmentState)
}
else -> {}
}
@@ -99,7 +99,7 @@ class AttachmentFileBinderManager(private val activity: FragmentActivity) {
}
@Synchronized
fun consummeAttachmentAction(attachment: EntryAttachmentState) {
fun consumeAttachmentAction(attachment: EntryAttachmentState) {
mBinder?.getService()?.removeAttachmentAction(attachment)
}