pull out BasicAudioController from MessageKit framework

This commit is contained in:
Iosif Moldovan
2018-12-15 12:44:33 +02:00
parent ec9e5e906c
commit 7f855d20a3
13 changed files with 61 additions and 313 deletions
@@ -366,6 +366,10 @@ extension AdvancedExampleViewController: MessagesDisplayDelegate {
return self.isFromCurrentSender(message: message) ? .white : UIColor(red: 15/255, green: 135/255, blue: 255/255, alpha: 1.0)
}
func configureAudioCell(_ cell: AudioMessageCell, message: MessageType) {
audioController.configureAudioCell(cell, message: message) // this is needed especily when the cell is reconfigure while is playing sound
}
}
// MARK: - MessagesLayoutDelegate