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