sceyt-chat-react-uikit 1.6.9-beta.20 → 1.6.9-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -2
- package/index.modern.js +4 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -21248,7 +21248,7 @@ var Channel = function Channel(_ref3) {
|
|
|
21248
21248
|
}, lastMessage && lastMessage.createdAt && lastMessageDateFormat(lastMessage.createdAt))), /*#__PURE__*/React__default.createElement(UnreadInfo, {
|
|
21249
21249
|
bottom: !(lastMessage || typingOrRecording.items.length > 0 || draftMessageText) ? '5px' : ''
|
|
21250
21250
|
}, !!(channel.newMentionCount && channel.newMentionCount > 0) && (/*#__PURE__*/React__default.createElement(UnreadMentionIconWrapper, {
|
|
21251
|
-
iconColor:
|
|
21251
|
+
iconColor: accentColor,
|
|
21252
21252
|
rightMargin: !!(channel.newMessageCount || channel.unread)
|
|
21253
21253
|
}, /*#__PURE__*/React__default.createElement(SvgUnreadMention, null))), !!(channel.newMessageCount || channel.unread) && (/*#__PURE__*/React__default.createElement(UnreadCount, {
|
|
21254
21254
|
backgroundColor: accentColor,
|
|
@@ -26950,7 +26950,9 @@ var VideoPreview = /*#__PURE__*/React.memo(function VideoPreview(_ref) {
|
|
|
26950
26950
|
setLoading(false);
|
|
26951
26951
|
var minutes = Math.floor(video.duration / 60);
|
|
26952
26952
|
var _seconds = Math.floor(video.duration % 60);
|
|
26953
|
-
|
|
26953
|
+
if (!videoCurrentTime) {
|
|
26954
|
+
setVideoCurrentTime(minutes + ":" + (_seconds < 10 ? "0" + _seconds : _seconds));
|
|
26955
|
+
}
|
|
26954
26956
|
if (setVideoIsReadyToSend) {
|
|
26955
26957
|
setVideoIsReadyToSend(file.tid);
|
|
26956
26958
|
}
|
package/index.modern.js
CHANGED
|
@@ -21227,7 +21227,7 @@ var Channel = function Channel(_ref3) {
|
|
|
21227
21227
|
}, lastMessage && lastMessage.createdAt && lastMessageDateFormat(lastMessage.createdAt))), /*#__PURE__*/React__default.createElement(UnreadInfo, {
|
|
21228
21228
|
bottom: !(lastMessage || typingOrRecording.items.length > 0 || draftMessageText) ? '5px' : ''
|
|
21229
21229
|
}, !!(channel.newMentionCount && channel.newMentionCount > 0) && (/*#__PURE__*/React__default.createElement(UnreadMentionIconWrapper, {
|
|
21230
|
-
iconColor:
|
|
21230
|
+
iconColor: accentColor,
|
|
21231
21231
|
rightMargin: !!(channel.newMessageCount || channel.unread)
|
|
21232
21232
|
}, /*#__PURE__*/React__default.createElement(SvgUnreadMention, null))), !!(channel.newMessageCount || channel.unread) && (/*#__PURE__*/React__default.createElement(UnreadCount, {
|
|
21233
21233
|
backgroundColor: accentColor,
|
|
@@ -26929,7 +26929,9 @@ var VideoPreview = /*#__PURE__*/memo(function VideoPreview(_ref) {
|
|
|
26929
26929
|
setLoading(false);
|
|
26930
26930
|
var minutes = Math.floor(video.duration / 60);
|
|
26931
26931
|
var _seconds = Math.floor(video.duration % 60);
|
|
26932
|
-
|
|
26932
|
+
if (!videoCurrentTime) {
|
|
26933
|
+
setVideoCurrentTime(minutes + ":" + (_seconds < 10 ? "0" + _seconds : _seconds));
|
|
26934
|
+
}
|
|
26933
26935
|
if (setVideoIsReadyToSend) {
|
|
26934
26936
|
setVideoIsReadyToSend(file.tid);
|
|
26935
26937
|
}
|