Skip to content

Commit f3cd856

Browse files
committed
docs: Update voiceMessageDuration doc comment in Message and ReplyMessage
1 parent b4298e5 commit f3cd856

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## [Unreleased]
22

33
* **Fix**: [26](https://github.com/SimformSolutionsPvtLtd/chatview_utils/pull/26) Rename `updateAt` to `updatedAt` in `Message` model for consistency
4+
* **Docs**: [27](https://github.com/SimformSolutionsPvtLtd/chatview_utils/pull/27)Update `voiceMessageDuration` doc comment in `Message` and `ReplyMessage`
45

56
## 3.0.0
67

lib/src/models/data_models/message.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class Message {
130130
/// Status of the message.
131131
final ValueNotifier<MessageStatus> _status;
132132

133-
/// Provides max duration for recorded voice message.
133+
/// Duration of the voice message.
134134
Duration? voiceMessageDuration;
135135

136136
/// Provides message's current status.

lib/src/models/data_models/reply_message.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class ReplyMessage {
5959
/// {@macro chatview_utils.enumeration.MessageType}
6060
final MessageType messageType;
6161

62-
/// Provides max duration for recorded voice message.
62+
/// Duration of the voice message.
6363
final Duration? voiceMessageDuration;
6464

6565
/// Id of message, it replies to.

0 commit comments

Comments
 (0)