From 2d8141a70b4e028257f6999744f4dfdce60ec452 Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Fri, 10 Sep 2021 14:33:50 +0430 Subject: [PATCH] fix: misspellings of comments inside the message display delegate file --- Sources/Protocols/MessagesDisplayDelegate.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/Protocols/MessagesDisplayDelegate.swift b/Sources/Protocols/MessagesDisplayDelegate.swift index 1be3798a..32e01c5f 100644 --- a/Sources/Protocols/MessagesDisplayDelegate.swift +++ b/Sources/Protocols/MessagesDisplayDelegate.swift @@ -144,7 +144,7 @@ public protocol MessagesDisplayDelegate: AnyObject { /// - Returns: The LocationMessageSnapshotOptions instance with the options to customize map style. func snapshotOptionsForLocation(message: MessageType, at indexPath: IndexPath, in messagesCollectionView: MessagesCollectionView) -> LocationMessageSnapshotOptions - /// Used to configure the annoation view of the map image on the given location message. + /// Used to configure the annotation view of the map image on the given location message. /// /// - Parameters: /// - message: A `MessageType` with a `MessageKind` case of `.location`. @@ -178,7 +178,7 @@ public protocol MessagesDisplayDelegate: AnyObject { /// Used to configure the audio cell UI: /// 1. play button selected state; - /// 2. progresssView progress; + /// 2. progressView progress; /// 3. durationLabel text; /// /// - Parameters: @@ -210,7 +210,7 @@ public protocol MessagesDisplayDelegate: AnyObject { /// - Note: /// The default value is computed like fallow: /// 1. return the time as 0:ss if duration is up to 59 seconds (e.g. 0:03 means 0 minutes and 3 seconds) - /// 2. return the time as m:ss if duration is greater than 59 and lower than 3600 (e.g. 12:23 means 12 mintues and 23 seconds) + /// 2. return the time as m:ss if duration is greater than 59 and lower than 3600 (e.g. 12:23 means 12 minutes and 23 seconds) /// 3. return the time as h:mm:ss for anything longer that 3600 seconds (e.g. 1:19:08 means 1 hour 19 minutes and 8 seconds) func audioProgressTextFormat(_ duration: Float, for audioCell: AudioMessageCell, in messageCollectionView: MessagesCollectionView) -> String