fixing recursive call
This commit is contained in:
parent
00059e7b70
commit
aa3631f328
@ -75,7 +75,7 @@ fun MultiPickerBaseType.toContentAttachmentData(): ContentAttachmentData {
|
||||
return when (this) {
|
||||
is MultiPickerImageType -> toContentAttachmentData()
|
||||
is MultiPickerVideoType -> toContentAttachmentData()
|
||||
is MultiPickerAudioType -> toContentAttachmentData()
|
||||
is MultiPickerAudioType -> toContentAttachmentData(isVoiceMessage = false)
|
||||
is MultiPickerFileType -> toContentAttachmentData()
|
||||
else -> throw IllegalStateException("Unknown file type")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user