@planningcenter/chat-react-native 4.4.1-qa-staging.23 → 4.4.1-rc.0
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/build/components/conversation/message.d.ts.map +1 -1
- package/build/components/conversation/message.js +145 -193
- package/build/components/conversation/message.js.map +1 -1
- package/build/components/conversation/reply_shadow_message.d.ts.map +1 -1
- package/build/components/conversation/reply_shadow_message.js +107 -135
- package/build/components/conversation/reply_shadow_message.js.map +1 -1
- package/build/screens/conversation_details_screen.d.ts.map +1 -1
- package/build/screens/conversation_details_screen.js +190 -190
- package/build/screens/conversation_details_screen.js.map +1 -1
- package/build/utils/styles.d.ts +0 -1
- package/build/utils/styles.d.ts.map +1 -1
- package/build/utils/styles.js +1 -1
- package/build/utils/styles.js.map +1 -1
- package/package.json +3 -3
- package/src/components/conversation/message.tsx +2 -10
- package/src/components/conversation/reply_shadow_message.tsx +3 -14
- package/src/screens/__tests__/conversation_details_screen.test.tsx +8 -0
- package/src/screens/conversation_details_screen.tsx +2 -1
- package/src/utils/styles.ts +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/components/conversation/message.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA0B,MAAM,OAAO,CAAA;AAoB9C,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/components/conversation/message.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA0B,MAAM,OAAO,CAAA;AAoB9C,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAkB7C;;GAEG;AACH,UAAU,YAAa,SAAQ,eAAe;IAC5C,4BAA4B,EAAE,OAAO,CAAA;IACrC,oBAAoB,EAAE,OAAO,CAAA;IAC7B,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAA;CAC9B;AAED,eAAO,MAAM,OAAO,8KASjB,YAAY,6CAsSb,CAAA"}
|
|
@@ -15,7 +15,7 @@ import { pluralize } from '../../utils';
|
|
|
15
15
|
import { isNewMessage } from '../../utils/cache/messages_cache';
|
|
16
16
|
import { stripEmptyTextCharacters } from '../../utils/message_text';
|
|
17
17
|
import { Haptic } from '../../utils/native_adapters';
|
|
18
|
-
import { CONVERSATION_MESSAGE_LIST_PADDING_HORIZONTAL, MESSAGE_AUTHOR_AVATAR_COLUMN_WIDTH,
|
|
18
|
+
import { CONVERSATION_MESSAGE_LIST_PADDING_HORIZONTAL, MESSAGE_AUTHOR_AVATAR_COLUMN_WIDTH, platformFontWeightMedium } from '../../utils/styles';
|
|
19
19
|
import { ComponentErrorBoundary } from '../page/component_error_boundary';
|
|
20
20
|
import { MessageAttachments } from './message_attachments';
|
|
21
21
|
import { MessageMarkdown } from './message_markdown';
|
|
@@ -27,7 +27,7 @@ import { TheirReplyConnector, MyReplyConnector, AVATAR_CONNECTOR_SPACING } from
|
|
|
27
27
|
*/
|
|
28
28
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
29
29
|
export const Message = memo(function MessageRow(t0) {
|
|
30
|
-
const $ = _c(
|
|
30
|
+
const $ = _c(73);
|
|
31
31
|
const {
|
|
32
32
|
canDeleteNonAuthoredMessages,
|
|
33
33
|
conversationDisabled,
|
|
@@ -91,7 +91,6 @@ export const Message = memo(function MessageRow(t0) {
|
|
|
91
91
|
const replyRootAuthorName = replyToReplyRootMessage ? replyRoot?.author.name : author.name;
|
|
92
92
|
const messageText = isDeletedReplyRootMessage ? "Message deleted" : text;
|
|
93
93
|
const messageBottomMargin = message.lastInGroup || message.nextIsReplyShadowMessage ? 16 : hasReactions || showMessageMeta || showReplyCountButton ? 8 : 4;
|
|
94
|
-
const spaceBelowPressable = messageBottomMargin - MESSAGE_BACKGROUND_OUTSET;
|
|
95
94
|
const messageIsReplyLabel = replyToReplyRootMessage ? "Reply" : "";
|
|
96
95
|
const attachmentLabel = some(attachments) ? pluralize(attachments.length, "attachment") : "";
|
|
97
96
|
const replyCountLabel = isReplyRootMessage ? replyCountText : "";
|
|
@@ -207,78 +206,38 @@ export const Message = memo(function MessageRow(t0) {
|
|
|
207
206
|
};
|
|
208
207
|
const T0 = Pressable;
|
|
209
208
|
const t6 = `message-${message.id}`;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
} else {
|
|
218
|
-
t7 = $[9];
|
|
219
|
-
}
|
|
220
|
-
let t8;
|
|
221
|
-
if ($[10] !== styles.pressable || $[11] !== t7) {
|
|
222
|
-
t8 = [styles.pressable, t7];
|
|
223
|
-
$[10] = styles.pressable;
|
|
224
|
-
$[11] = t7;
|
|
225
|
-
$[12] = t8;
|
|
226
|
-
} else {
|
|
227
|
-
t8 = $[12];
|
|
228
|
-
}
|
|
229
|
-
const t9 = isDeleting ? undefined : handleMessageLongPress;
|
|
230
|
-
const t10 = isDeleting ? undefined : handleMessagePress;
|
|
231
|
-
const t11 = isDeleting ? undefined : handleMessagePressIn;
|
|
232
|
-
const t12 = isDeleting ? undefined : handleMessagePressOut;
|
|
233
|
-
let t13;
|
|
234
|
-
if ($[13] !== colors.androidRippleNeutral) {
|
|
235
|
-
t13 = {
|
|
209
|
+
const t7 = isDeleting ? undefined : handleMessageLongPress;
|
|
210
|
+
const t8 = isDeleting ? undefined : handleMessagePress;
|
|
211
|
+
const t9 = isDeleting ? undefined : handleMessagePressIn;
|
|
212
|
+
const t10 = isDeleting ? undefined : handleMessagePressOut;
|
|
213
|
+
let t11;
|
|
214
|
+
if ($[8] !== colors.androidRippleNeutral) {
|
|
215
|
+
t11 = {
|
|
236
216
|
color: colors.androidRippleNeutral,
|
|
237
217
|
borderless: false,
|
|
238
218
|
foreground: true
|
|
239
219
|
};
|
|
240
|
-
$[
|
|
241
|
-
$[
|
|
242
|
-
} else {
|
|
243
|
-
t13 = $[14];
|
|
244
|
-
}
|
|
245
|
-
const t14 = "button";
|
|
246
|
-
const t15 = "Long press to view message actions like reacting and copying.";
|
|
247
|
-
const t16 = isReplyRootMessage ? accessibilityActions : undefined;
|
|
248
|
-
const t17 = isReplyRootMessage ? handleAccessibilityAction : undefined;
|
|
249
|
-
const t18 = isDeletedReplyRootMessage || isDeleting;
|
|
250
|
-
let t19;
|
|
251
|
-
if ($[15] !== animatedBackgroundColor) {
|
|
252
|
-
t19 = /*#__PURE__*/_jsx(Animated.View, {
|
|
253
|
-
style: [StyleSheet.absoluteFill, animatedBackgroundColor]
|
|
254
|
-
});
|
|
255
|
-
$[15] = animatedBackgroundColor;
|
|
256
|
-
$[16] = t19;
|
|
257
|
-
} else {
|
|
258
|
-
t19 = $[16];
|
|
259
|
-
}
|
|
260
|
-
const T1 = View;
|
|
261
|
-
const t20 = -spaceBelowPressable;
|
|
262
|
-
let t21;
|
|
263
|
-
if ($[17] !== t20) {
|
|
264
|
-
t21 = {
|
|
265
|
-
marginBottom: t20
|
|
266
|
-
};
|
|
267
|
-
$[17] = t20;
|
|
268
|
-
$[18] = t21;
|
|
220
|
+
$[8] = colors.androidRippleNeutral;
|
|
221
|
+
$[9] = t11;
|
|
269
222
|
} else {
|
|
270
|
-
|
|
223
|
+
t11 = $[9];
|
|
271
224
|
}
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
225
|
+
const t12 = "button";
|
|
226
|
+
const t13 = "Long press to view message actions like reacting and copying.";
|
|
227
|
+
const t14 = isReplyRootMessage ? accessibilityActions : undefined;
|
|
228
|
+
const t15 = isReplyRootMessage ? handleAccessibilityAction : undefined;
|
|
229
|
+
const t16 = isDeletedReplyRootMessage || isDeleting;
|
|
230
|
+
const t17 = Animated;
|
|
231
|
+
let t18;
|
|
232
|
+
if ($[10] !== animatedBackgroundColor || $[11] !== styles.message) {
|
|
233
|
+
t18 = [styles.message, animatedBackgroundColor];
|
|
234
|
+
$[10] = animatedBackgroundColor;
|
|
235
|
+
$[11] = styles.message;
|
|
236
|
+
$[12] = t18;
|
|
278
237
|
} else {
|
|
279
|
-
|
|
238
|
+
t18 = $[12];
|
|
280
239
|
}
|
|
281
|
-
const
|
|
240
|
+
const t19 = !message.mine && /*#__PURE__*/_jsxs(View, {
|
|
282
241
|
children: [renderAuthor ? /*#__PURE__*/_jsx(Avatar, {
|
|
283
242
|
size: "md",
|
|
284
243
|
sourceUri: author.avatar,
|
|
@@ -294,39 +253,39 @@ export const Message = memo(function MessageRow(t0) {
|
|
|
294
253
|
messageBubbleHeight: messageBubbleHeight
|
|
295
254
|
})]
|
|
296
255
|
});
|
|
297
|
-
const
|
|
298
|
-
let
|
|
299
|
-
if ($[
|
|
300
|
-
|
|
256
|
+
const T1 = View;
|
|
257
|
+
let t20;
|
|
258
|
+
if ($[13] !== messageBottomMargin) {
|
|
259
|
+
t20 = {
|
|
301
260
|
marginBottom: messageBottomMargin
|
|
302
261
|
};
|
|
303
|
-
$[
|
|
304
|
-
$[
|
|
262
|
+
$[13] = messageBottomMargin;
|
|
263
|
+
$[14] = t20;
|
|
305
264
|
} else {
|
|
306
|
-
|
|
265
|
+
t20 = $[14];
|
|
307
266
|
}
|
|
308
|
-
let
|
|
309
|
-
if ($[
|
|
310
|
-
|
|
311
|
-
$[
|
|
312
|
-
$[
|
|
313
|
-
$[
|
|
267
|
+
let t21;
|
|
268
|
+
if ($[15] !== styles.messageContent || $[16] !== t20) {
|
|
269
|
+
t21 = [styles.messageContent, t20];
|
|
270
|
+
$[15] = styles.messageContent;
|
|
271
|
+
$[16] = t20;
|
|
272
|
+
$[17] = t21;
|
|
314
273
|
} else {
|
|
315
|
-
|
|
274
|
+
t21 = $[17];
|
|
316
275
|
}
|
|
317
|
-
const
|
|
276
|
+
const t22 = renderAuthor && !isDeletedReplyRootMessage && /*#__PURE__*/_jsx(Text, {
|
|
318
277
|
variant: "footnote",
|
|
319
278
|
style: styles.authorName,
|
|
320
279
|
children: author.name
|
|
321
280
|
});
|
|
322
|
-
let
|
|
323
|
-
if ($[
|
|
324
|
-
|
|
325
|
-
$[
|
|
281
|
+
let t23;
|
|
282
|
+
if ($[18] === Symbol.for("react.memo_cache_sentinel")) {
|
|
283
|
+
t23 = e => setMessageBubbleHeight(e.nativeEvent.layout.height);
|
|
284
|
+
$[18] = t23;
|
|
326
285
|
} else {
|
|
327
|
-
|
|
286
|
+
t23 = $[18];
|
|
328
287
|
}
|
|
329
|
-
const
|
|
288
|
+
const t24 = isDeletedReplyRootMessage ? /*#__PURE__*/_jsx(View, {
|
|
330
289
|
style: styles.messageText,
|
|
331
290
|
children: /*#__PURE__*/_jsx(Text, {
|
|
332
291
|
style: styles.replyRootDeletedText,
|
|
@@ -347,20 +306,20 @@ export const Message = memo(function MessageRow(t0) {
|
|
|
347
306
|
})
|
|
348
307
|
})]
|
|
349
308
|
});
|
|
350
|
-
let
|
|
351
|
-
if ($[
|
|
352
|
-
|
|
309
|
+
let t25;
|
|
310
|
+
if ($[19] !== styles.messageBubble || $[20] !== t24) {
|
|
311
|
+
t25 = /*#__PURE__*/_jsx(View, {
|
|
353
312
|
style: styles.messageBubble,
|
|
354
|
-
onLayout:
|
|
355
|
-
children:
|
|
313
|
+
onLayout: t23,
|
|
314
|
+
children: t24
|
|
356
315
|
});
|
|
357
|
-
$[
|
|
358
|
-
$[
|
|
359
|
-
$[
|
|
316
|
+
$[19] = styles.messageBubble;
|
|
317
|
+
$[20] = t24;
|
|
318
|
+
$[21] = t25;
|
|
360
319
|
} else {
|
|
361
|
-
|
|
320
|
+
t25 = $[21];
|
|
362
321
|
}
|
|
363
|
-
const
|
|
322
|
+
const t26 = showReplyCountButton && /*#__PURE__*/_jsx(TextButton, {
|
|
364
323
|
variant: "footnote",
|
|
365
324
|
onPress: handleNavigateToReplyPress,
|
|
366
325
|
style: styles.messageReplyCount,
|
|
@@ -368,7 +327,7 @@ export const Message = memo(function MessageRow(t0) {
|
|
|
368
327
|
accessibilityRole: "link",
|
|
369
328
|
children: replyCountText
|
|
370
329
|
});
|
|
371
|
-
const
|
|
330
|
+
const t27 = hasReactions && !isDeletedReplyRootMessage && /*#__PURE__*/_jsx(View, {
|
|
372
331
|
style: styles.messageReactions,
|
|
373
332
|
children: reactionCounts.map(reaction_0 => /*#__PURE__*/_jsx(MessageReaction, {
|
|
374
333
|
reaction: reaction_0,
|
|
@@ -378,9 +337,9 @@ export const Message = memo(function MessageRow(t0) {
|
|
|
378
337
|
disabled: conversationDisabled
|
|
379
338
|
}, reaction_0.value))
|
|
380
339
|
});
|
|
381
|
-
let
|
|
382
|
-
if ($[
|
|
383
|
-
|
|
340
|
+
let t28;
|
|
341
|
+
if ($[22] !== colors.iconColorDefaultSecondary || $[23] !== error || $[24] !== handleRetry || $[25] !== isDeletedReplyRootMessage || $[26] !== isPersisted || $[27] !== messagePendingLabel || $[28] !== pending || $[29] !== readByOthers || $[30] !== retryFailedSaveMutation || $[31] !== showMessageMeta || $[32] !== showReadReceipts || $[33] !== styles.editedText || $[34] !== styles.errorContainer || $[35] !== styles.errorIcon || $[36] !== styles.errorText || $[37] !== styles.messageMeta || $[38] !== styles.pendingIndicatorContainer || $[39] !== temporarilyHidePendingState || $[40] !== timestamp || $[41] !== wasEdited) {
|
|
342
|
+
t28 = showMessageMeta && !isDeletedReplyRootMessage && /*#__PURE__*/_jsxs(View, {
|
|
384
343
|
style: styles.messageMeta,
|
|
385
344
|
children: [showReadReceipts && /*#__PURE__*/_jsx(MessageReadReceipts, {
|
|
386
345
|
read: readByOthers
|
|
@@ -425,111 +384,108 @@ export const Message = memo(function MessageRow(t0) {
|
|
|
425
384
|
})]
|
|
426
385
|
})]
|
|
427
386
|
});
|
|
428
|
-
$[
|
|
429
|
-
$[
|
|
430
|
-
$[
|
|
431
|
-
$[
|
|
432
|
-
$[
|
|
433
|
-
$[
|
|
434
|
-
$[
|
|
435
|
-
$[
|
|
436
|
-
$[
|
|
437
|
-
$[
|
|
438
|
-
$[
|
|
439
|
-
$[
|
|
440
|
-
$[
|
|
441
|
-
$[
|
|
442
|
-
$[
|
|
443
|
-
$[
|
|
444
|
-
$[
|
|
445
|
-
$[
|
|
446
|
-
$[
|
|
447
|
-
$[
|
|
448
|
-
$[
|
|
387
|
+
$[22] = colors.iconColorDefaultSecondary;
|
|
388
|
+
$[23] = error;
|
|
389
|
+
$[24] = handleRetry;
|
|
390
|
+
$[25] = isDeletedReplyRootMessage;
|
|
391
|
+
$[26] = isPersisted;
|
|
392
|
+
$[27] = messagePendingLabel;
|
|
393
|
+
$[28] = pending;
|
|
394
|
+
$[29] = readByOthers;
|
|
395
|
+
$[30] = retryFailedSaveMutation;
|
|
396
|
+
$[31] = showMessageMeta;
|
|
397
|
+
$[32] = showReadReceipts;
|
|
398
|
+
$[33] = styles.editedText;
|
|
399
|
+
$[34] = styles.errorContainer;
|
|
400
|
+
$[35] = styles.errorIcon;
|
|
401
|
+
$[36] = styles.errorText;
|
|
402
|
+
$[37] = styles.messageMeta;
|
|
403
|
+
$[38] = styles.pendingIndicatorContainer;
|
|
404
|
+
$[39] = temporarilyHidePendingState;
|
|
405
|
+
$[40] = timestamp;
|
|
406
|
+
$[41] = wasEdited;
|
|
407
|
+
$[42] = t28;
|
|
449
408
|
} else {
|
|
450
|
-
|
|
409
|
+
t28 = $[42];
|
|
451
410
|
}
|
|
452
|
-
let
|
|
453
|
-
if ($[
|
|
454
|
-
|
|
455
|
-
style:
|
|
456
|
-
children: [
|
|
411
|
+
let t29;
|
|
412
|
+
if ($[43] !== T1 || $[44] !== t21 || $[45] !== t22 || $[46] !== t25 || $[47] !== t26 || $[48] !== t27 || $[49] !== t28) {
|
|
413
|
+
t29 = /*#__PURE__*/_jsxs(T1, {
|
|
414
|
+
style: t21,
|
|
415
|
+
children: [t22, t25, t26, t27, t28]
|
|
457
416
|
});
|
|
458
|
-
$[
|
|
459
|
-
$[
|
|
460
|
-
$[
|
|
461
|
-
$[
|
|
462
|
-
$[
|
|
463
|
-
$[
|
|
464
|
-
$[
|
|
465
|
-
$[
|
|
417
|
+
$[43] = T1;
|
|
418
|
+
$[44] = t21;
|
|
419
|
+
$[45] = t22;
|
|
420
|
+
$[46] = t25;
|
|
421
|
+
$[47] = t26;
|
|
422
|
+
$[48] = t27;
|
|
423
|
+
$[49] = t28;
|
|
424
|
+
$[50] = t29;
|
|
466
425
|
} else {
|
|
467
|
-
|
|
426
|
+
t29 = $[50];
|
|
468
427
|
}
|
|
469
|
-
let
|
|
470
|
-
if ($[
|
|
471
|
-
|
|
428
|
+
let t30;
|
|
429
|
+
if ($[51] !== message || $[52] !== messageBubbleHeight) {
|
|
430
|
+
t30 = message.mine && /*#__PURE__*/_jsx(MyReplyConnector, {
|
|
472
431
|
message: message,
|
|
473
432
|
messageBubbleHeight: messageBubbleHeight
|
|
474
433
|
});
|
|
475
|
-
$[
|
|
476
|
-
$[
|
|
477
|
-
$[
|
|
434
|
+
$[51] = message;
|
|
435
|
+
$[52] = messageBubbleHeight;
|
|
436
|
+
$[53] = t30;
|
|
478
437
|
} else {
|
|
479
|
-
|
|
438
|
+
t30 = $[53];
|
|
480
439
|
}
|
|
481
|
-
let
|
|
482
|
-
if ($[
|
|
483
|
-
|
|
484
|
-
style:
|
|
485
|
-
children: [
|
|
440
|
+
let t31;
|
|
441
|
+
if ($[54] !== t17.View || $[55] !== t18 || $[56] !== t19 || $[57] !== t29 || $[58] !== t30) {
|
|
442
|
+
t31 = /*#__PURE__*/_jsxs(t17.View, {
|
|
443
|
+
style: t18,
|
|
444
|
+
children: [t19, t29, t30]
|
|
486
445
|
});
|
|
487
|
-
$[
|
|
488
|
-
$[
|
|
489
|
-
$[
|
|
490
|
-
$[
|
|
491
|
-
$[
|
|
492
|
-
$[
|
|
446
|
+
$[54] = t17.View;
|
|
447
|
+
$[55] = t18;
|
|
448
|
+
$[56] = t19;
|
|
449
|
+
$[57] = t29;
|
|
450
|
+
$[58] = t30;
|
|
451
|
+
$[59] = t31;
|
|
493
452
|
} else {
|
|
494
|
-
|
|
453
|
+
t31 = $[59];
|
|
495
454
|
}
|
|
496
|
-
let
|
|
497
|
-
if ($[
|
|
498
|
-
|
|
455
|
+
let t32;
|
|
456
|
+
if ($[60] !== T0 || $[61] !== accessibilityLabel || $[62] !== t10 || $[63] !== t11 || $[64] !== t14 || $[65] !== t15 || $[66] !== t16 || $[67] !== t31 || $[68] !== t6 || $[69] !== t7 || $[70] !== t8 || $[71] !== t9) {
|
|
457
|
+
t32 = /*#__PURE__*/_jsx(T0, {
|
|
499
458
|
testID: t6,
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
accessibilityRole: t14,
|
|
459
|
+
onLongPress: t7,
|
|
460
|
+
onPress: t8,
|
|
461
|
+
onPressIn: t9,
|
|
462
|
+
onPressOut: t10,
|
|
463
|
+
android_ripple: t11,
|
|
464
|
+
accessibilityRole: t12,
|
|
507
465
|
accessibilityLabel: accessibilityLabel,
|
|
508
|
-
accessibilityHint:
|
|
509
|
-
accessibilityActions:
|
|
510
|
-
onAccessibilityAction:
|
|
511
|
-
disabled:
|
|
512
|
-
children:
|
|
466
|
+
accessibilityHint: t13,
|
|
467
|
+
accessibilityActions: t14,
|
|
468
|
+
onAccessibilityAction: t15,
|
|
469
|
+
disabled: t16,
|
|
470
|
+
children: t31
|
|
513
471
|
});
|
|
514
|
-
$[
|
|
515
|
-
$[
|
|
516
|
-
$[
|
|
517
|
-
$[
|
|
518
|
-
$[
|
|
519
|
-
$[
|
|
520
|
-
$[
|
|
521
|
-
$[
|
|
522
|
-
$[
|
|
523
|
-
$[
|
|
524
|
-
$[
|
|
525
|
-
$[
|
|
526
|
-
$[
|
|
527
|
-
$[82] = t9;
|
|
528
|
-
$[83] = t36;
|
|
472
|
+
$[60] = T0;
|
|
473
|
+
$[61] = accessibilityLabel;
|
|
474
|
+
$[62] = t10;
|
|
475
|
+
$[63] = t11;
|
|
476
|
+
$[64] = t14;
|
|
477
|
+
$[65] = t15;
|
|
478
|
+
$[66] = t16;
|
|
479
|
+
$[67] = t31;
|
|
480
|
+
$[68] = t6;
|
|
481
|
+
$[69] = t7;
|
|
482
|
+
$[70] = t8;
|
|
483
|
+
$[71] = t9;
|
|
484
|
+
$[72] = t32;
|
|
529
485
|
} else {
|
|
530
|
-
|
|
486
|
+
t32 = $[72];
|
|
531
487
|
}
|
|
532
|
-
return
|
|
488
|
+
return t32;
|
|
533
489
|
});
|
|
534
490
|
const useMessageStyles = (mine, isDeleting) => {
|
|
535
491
|
const $ = _c(8);
|
|
@@ -545,10 +501,6 @@ const useMessageStyles = (mine, isDeleting) => {
|
|
|
545
501
|
let t0;
|
|
546
502
|
if ($[0] !== colors.statusErrorIcon || $[1] !== colors.statusErrorText || $[2] !== colors.textColorDefaultSecondary || $[3] !== isDeleting || $[4] !== messageBubbleBackgroundColor || $[5] !== mine || $[6] !== tabletWidth) {
|
|
547
503
|
t0 = StyleSheet.create({
|
|
548
|
-
pressable: {
|
|
549
|
-
marginTop: -MESSAGE_BACKGROUND_OUTSET,
|
|
550
|
-
paddingTop: MESSAGE_BACKGROUND_OUTSET
|
|
551
|
-
},
|
|
552
504
|
message: {
|
|
553
505
|
gap: 8,
|
|
554
506
|
flexDirection: mine ? "row-reverse" : "row",
|