[Gekidou] update deps (#6667)

* Fix login not showing the usernames (#6652)

* update dependencies

* feedback review

* feedback review 2

* remove unused dependencies

* remove duplicate gesture-handler dependency

* add -XX:+HeapDumpOnOutOfMemoryError to gradle

* adjust gradle memory

* update android ci image

* android executor xlarge

Co-authored-by: Daniel Espino García <larkox@gmail.com>
This commit is contained in:
Elias Nahum
2022-10-13 08:41:18 -03:00
committed by GitHub
parent e1c74124e2
commit 5c7e89d7de
68 changed files with 5391 additions and 4399 deletions

View File

@@ -3,8 +3,8 @@
exports[`@components/app_version should match snapshot 1`] = `
<View
animatedStyle={
Object {
"value": Object {
{
"value": {
"opacity": 1,
},
}
@@ -12,14 +12,14 @@ exports[`@components/app_version should match snapshot 1`] = `
collapsable={false}
pointerEvents="none"
style={
Object {
{
"opacity": 1,
}
}
>
<View
style={
Object {
{
"bottom": 0,
"marginBottom": 12,
"marginLeft": 20,
@@ -29,7 +29,7 @@ exports[`@components/app_version should match snapshot 1`] = `
>
<Text
style={
Object {
{
"fontSize": 12,
}
}

View File

@@ -1,7 +1,7 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import Clipboard from '@react-native-community/clipboard';
import Clipboard from '@react-native-clipboard/clipboard';
import React, {useCallback} from 'react';
import {useIntl} from 'react-intl';

View File

@@ -1,7 +1,7 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import Clipboard from '@react-native-community/clipboard';
import Clipboard from '@react-native-clipboard/clipboard';
import React, {useCallback} from 'react';
import {useIntl} from 'react-intl';

View File

@@ -13,15 +13,15 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
Object {
{
"opacity": 1,
}
}
>
<View
style={
Array [
Object {
[
{
"alignItems": "center",
"flexDirection": "row",
"minHeight": 40,
@@ -29,7 +29,7 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
},
false,
undefined,
Object {
{
"minHeight": 40,
},
]
@@ -38,7 +38,7 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
>
<View
style={
Object {
{
"flex": 1,
"flexDirection": "row",
}
@@ -46,12 +46,12 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
>
<View
style={
Array [
Object {
[
{
"alignItems": "center",
"justifyContent": "center",
},
Object {
{
"height": 24,
"width": 24,
},
@@ -63,13 +63,13 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
<Icon
name="globe"
style={
Array [
Object {
[
{
"color": "rgba(255,255,255,0.4)",
},
undefined,
undefined,
Object {
{
"fontSize": 24,
"left": 1,
},
@@ -83,14 +83,14 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
ellipsizeMode="tail"
numberOfLines={1}
style={
Array [
Object {
[
{
"fontFamily": "OpenSans",
"fontSize": 16,
"fontWeight": "400",
"lineHeight": 24,
},
Object {
{
"color": "rgba(255,255,255,0.72)",
"marginTop": -1,
"paddingLeft": 12,
@@ -126,15 +126,15 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
Object {
{
"opacity": 1,
}
}
>
<View
style={
Array [
Object {
[
{
"alignItems": "center",
"flexDirection": "row",
"minHeight": 40,
@@ -142,7 +142,7 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
},
false,
undefined,
Object {
{
"minHeight": 40,
},
]
@@ -151,7 +151,7 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
>
<View
style={
Object {
{
"flex": 1,
"flexDirection": "row",
}
@@ -159,12 +159,12 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
>
<View
style={
Array [
Object {
[
{
"alignItems": "center",
"justifyContent": "center",
},
Object {
{
"height": 24,
"width": 24,
},
@@ -176,13 +176,13 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
<Icon
name="pencil-outline"
style={
Array [
Object {
[
{
"color": "rgba(255,255,255,0.4)",
},
undefined,
undefined,
Object {
{
"fontSize": 24,
"left": 2,
},
@@ -196,14 +196,14 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
ellipsizeMode="tail"
numberOfLines={1}
style={
Array [
Object {
[
{
"fontFamily": "OpenSans",
"fontSize": 16,
"fontWeight": "400",
"lineHeight": 24,
},
Object {
{
"color": "rgba(255,255,255,0.72)",
"marginTop": -1,
"paddingLeft": 12,
@@ -226,14 +226,14 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
name="phone-in-talk"
size={16}
style={
Array [
Object {
[
{
"fontFamily": "OpenSans",
"fontSize": 16,
"fontWeight": "400",
"lineHeight": 24,
},
Object {
{
"color": "rgba(255,255,255,0.72)",
"marginTop": -1,
"paddingLeft": 12,
@@ -244,7 +244,7 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
null,
false,
false,
Object {
{
"paddingRight": 0,
"textAlign": "right",
},
@@ -268,15 +268,15 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
Object {
{
"opacity": 1,
}
}
>
<View
style={
Array [
Object {
[
{
"alignItems": "center",
"flexDirection": "row",
"minHeight": 40,
@@ -284,7 +284,7 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
},
false,
undefined,
Object {
{
"minHeight": 40,
},
]
@@ -293,7 +293,7 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
>
<View
style={
Object {
{
"flex": 1,
"flexDirection": "row",
}
@@ -301,12 +301,12 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
>
<View
style={
Array [
Object {
[
{
"alignItems": "center",
"justifyContent": "center",
},
Object {
{
"height": 24,
"width": 24,
},
@@ -318,13 +318,13 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
<Icon
name="pencil-outline"
style={
Array [
Object {
[
{
"color": "rgba(255,255,255,0.4)",
},
undefined,
undefined,
Object {
{
"fontSize": 24,
"left": 2,
},
@@ -338,14 +338,14 @@ exports[`components/channel_list/categories/body/channel_item should match snaps
ellipsizeMode="tail"
numberOfLines={1}
style={
Array [
Object {
[
{
"fontFamily": "OpenSans",
"fontSize": 16,
"fontWeight": "400",
"lineHeight": 24,
},
Object {
{
"color": "rgba(255,255,255,0.72)",
"marginTop": -1,
"paddingLeft": 12,

View File

@@ -1,7 +1,7 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import Clipboard from '@react-native-community/clipboard';
import Clipboard from '@react-native-clipboard/clipboard';
import React, {useCallback} from 'react';
import {BaseOption} from '@components/common_post_options';

View File

@@ -13,7 +13,7 @@ exports[`components/custom_status/clear_button should match snapshot 1`] = `
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
Object {
{
"alignItems": "center",
"flex": 1,
"height": 40,
@@ -28,7 +28,7 @@ exports[`components/custom_status/clear_button should match snapshot 1`] = `
name="close-circle"
size={20}
style={
Object {
{
"borderRadius": 1000,
"color": "rgba(63,67,80,0.52)",
}

View File

@@ -6,9 +6,9 @@ exports[`components/custom_status/custom_status_emoji should match snapshot 1`]
>
<Text
style={
Array [
[
undefined,
Object {
{
"color": "#000",
"fontSize": 16,
},
@@ -26,9 +26,9 @@ exports[`components/custom_status/custom_status_emoji should match snapshot with
>
<Text
style={
Array [
[
undefined,
Object {
{
"color": "#000",
"fontSize": 34,
},

View File

@@ -3,8 +3,8 @@
exports[`components/custom_status/custom_status_text should match snapshot 1`] = `
<Text
style={
Array [
Object {
[
{
"color": "rgba(63,67,80,0.5)",
"fontSize": 17,
"includeFontPadding": false,
@@ -21,8 +21,8 @@ exports[`components/custom_status/custom_status_text should match snapshot 1`] =
exports[`components/custom_status/custom_status_text should match snapshot with empty text 1`] = `
<Text
style={
Array [
Object {
[
{
"color": "rgba(63,67,80,0.5)",
"fontSize": 17,
"includeFontPadding": false,

View File

@@ -3,15 +3,15 @@
exports[`ErrorText should match snapshot 1`] = `
<Text
style={
Array [
Object {
[
{
"color": "#d24b4e",
"fontSize": 12,
"marginBottom": 15,
"marginTop": 15,
"textAlign": "left",
},
Object {
{
"fontSize": 14,
"marginHorizontal": 15,
},

View File

@@ -6,7 +6,6 @@ import Svg, {
Mask,
G,
} from 'react-native-svg';
import {EMaskUnits} from 'react-native-svg/src/elements/Mask';
type Props = {
theme: Theme;
@@ -60,7 +59,7 @@ function SvgComponent({theme}: Props) {
/>
<Mask
id='a'
maskUnits={EMaskUnits.USER_SPACE_ON_USE}
maskUnits='userSpaceOnUse'
x={76}
y={43}
width={134}

View File

@@ -6,7 +6,6 @@ import Svg, {
Mask,
G,
} from 'react-native-svg';
import {EMaskUnits} from 'react-native-svg/src/elements/Mask';
type Props = {
theme: Theme;
@@ -60,7 +59,7 @@ function SvgComponent({theme}: Props) {
/>
<Mask
id='a'
maskUnits={EMaskUnits.USER_SPACE_ON_USE}
maskUnits='userSpaceOnUse'
x={76}
y={43}
width={134}

View File

@@ -11,7 +11,6 @@ import Svg, {
Use,
Image,
} from 'react-native-svg';
import {EMaskUnits} from 'react-native-svg/src/elements/Mask';
type Props = {
theme: Theme;
@@ -31,7 +30,7 @@ function SvgComponent({theme}: Props) {
/>
<Mask
id='a'
maskUnits={EMaskUnits.USER_SPACE_ON_USE}
maskUnits='userSpaceOnUse'
x={3}
y={0}
width={117}
@@ -53,7 +52,7 @@ function SvgComponent({theme}: Props) {
/>
<Mask
id='b'
maskUnits={EMaskUnits.USER_SPACE_ON_USE}
maskUnits='userSpaceOnUse'
x={32}
y={42}
width={71}
@@ -102,7 +101,7 @@ function SvgComponent({theme}: Props) {
/>
<Mask
id='c'
maskUnits={EMaskUnits.USER_SPACE_ON_USE}
maskUnits='userSpaceOnUse'
x={25}
y={3}
width={53}
@@ -125,7 +124,7 @@ function SvgComponent({theme}: Props) {
/>
<Mask
id='d'
maskUnits={EMaskUnits.USER_SPACE_ON_USE}
maskUnits='userSpaceOnUse'
x={71}
y={30}
width={51}

View File

@@ -3,7 +3,7 @@
exports[`Loading Error should match snapshot 1`] = `
<View
style={
Object {
{
"alignItems": "center",
"flex": 1,
"justifyContent": "center",
@@ -13,7 +13,7 @@ exports[`Loading Error should match snapshot 1`] = `
>
<View
style={
Object {
{
"alignItems": "center",
"backgroundColor": "rgba(255,255,255,0.08)",
"borderRadius": 60,
@@ -26,7 +26,7 @@ exports[`Loading Error should match snapshot 1`] = `
<Icon
name="alert-circle-outline"
style={
Object {
{
"color": "rgba(255,255,255,0.48)",
"fontSize": 72,
"lineHeight": 72,
@@ -36,14 +36,14 @@ exports[`Loading Error should match snapshot 1`] = `
</View>
<Text
style={
Array [
Object {
[
{
"fontFamily": "Metropolis-SemiBold",
"fontSize": 20,
"fontWeight": "600",
"lineHeight": 28,
},
Object {
{
"color": "#ffffff",
"marginTop": 20,
"textAlign": "center",
@@ -55,14 +55,14 @@ exports[`Loading Error should match snapshot 1`] = `
</Text>
<Text
style={
Array [
Object {
[
{
"fontFamily": "OpenSans",
"fontSize": 16,
"fontWeight": "400",
"lineHeight": 24,
},
Object {
{
"color": "#ffffff",
"marginTop": 4,
"textAlign": "center",
@@ -84,7 +84,7 @@ exports[`Loading Error should match snapshot 1`] = `
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
Object {
{
"alignItems": "center",
"backgroundColor": "#ffffff",
"borderRadius": 4,
@@ -100,8 +100,8 @@ exports[`Loading Error should match snapshot 1`] = `
>
<Text
style={
Array [
Object {
[
{
"alignItems": "center",
"fontFamily": "OpenSans-SemiBold",
"fontWeight": "600",
@@ -109,12 +109,12 @@ exports[`Loading Error should match snapshot 1`] = `
"padding": 1,
"textAlignVertical": "center",
},
Object {
{
"fontSize": 16,
"lineHeight": 18,
"marginTop": 1,
},
Object {
{
"color": "#1c58d9",
},
]

View File

@@ -3,7 +3,7 @@
import {useManagedConfig} from '@mattermost/react-native-emm';
import {Database} from '@nozbe/watermelondb';
import Clipboard from '@react-native-community/clipboard';
import Clipboard from '@react-native-clipboard/clipboard';
import React, {useCallback, useEffect, useMemo} from 'react';
import {useIntl} from 'react-intl';
import {GestureResponderEvent, Keyboard, StyleProp, StyleSheet, Text, TextStyle, View} from 'react-native';

View File

@@ -2,7 +2,7 @@
// See LICENSE.txt for license information.
import {useManagedConfig} from '@mattermost/react-native-emm';
import Clipboard from '@react-native-community/clipboard';
import Clipboard from '@react-native-clipboard/clipboard';
import React, {useCallback} from 'react';
import {useIntl} from 'react-intl';
import {Keyboard, StyleSheet, Text, TextStyle, TouchableOpacity, View} from 'react-native';

View File

@@ -2,7 +2,7 @@
// See LICENSE.txt for license information.
import {useManagedConfig} from '@mattermost/react-native-emm';
import Clipboard from '@react-native-community/clipboard';
import Clipboard from '@react-native-clipboard/clipboard';
import React, {useCallback, useMemo, useRef, useState} from 'react';
import {useIntl} from 'react-intl';
import {Alert, Platform, StyleProp, Text, TextStyle, TouchableWithoutFeedback, View} from 'react-native';

View File

@@ -2,7 +2,7 @@
// See LICENSE.txt for license information.
import {useManagedConfig} from '@mattermost/react-native-emm';
import Clipboard from '@react-native-community/clipboard';
import Clipboard from '@react-native-clipboard/clipboard';
import React, {useCallback, useMemo} from 'react';
import {useIntl} from 'react-intl';
import {Keyboard, View, Text, StyleSheet, Platform} from 'react-native';

View File

@@ -2,7 +2,7 @@
// See LICENSE.txt for license information.
import {useManagedConfig} from '@mattermost/react-native-emm';
import Clipboard from '@react-native-community/clipboard';
import Clipboard from '@react-native-clipboard/clipboard';
import React, {Children, ReactElement, useCallback} from 'react';
import {useIntl} from 'react-intl';
import {Alert, StyleSheet, Text, View} from 'react-native';

View File

@@ -3,7 +3,7 @@
exports[`AttachmentFooter it matches snapshot when both footer and footer_icon are provided 1`] = `
<View
style={
Object {
{
"flex": 1,
"flexDirection": "row",
"marginTop": 5,
@@ -12,11 +12,11 @@ exports[`AttachmentFooter it matches snapshot when both footer and footer_icon a
>
<View
style={
Array [
Object {
[
{
"overflow": "hidden",
},
Object {
{
"height": 12,
"marginRight": 5,
"marginTop": 1,
@@ -26,14 +26,15 @@ exports[`AttachmentFooter it matches snapshot when both footer and footer_icon a
}
>
<FastImageView
defaultSource={null}
resizeMode="cover"
source={
Object {
{
"uri": "https://images.com/image.png",
}
}
style={
Object {
{
"bottom": 0,
"left": 0,
"position": "absolute",
@@ -47,7 +48,7 @@ exports[`AttachmentFooter it matches snapshot when both footer and footer_icon a
ellipsizeMode="tail"
numberOfLines={1}
style={
Object {
{
"color": "rgba(63,67,80,0.5)",
"fontSize": 11,
}
@@ -61,7 +62,7 @@ exports[`AttachmentFooter it matches snapshot when both footer and footer_icon a
exports[`AttachmentFooter it matches snapshot when footer text is provided 1`] = `
<View
style={
Object {
{
"flex": 1,
"flexDirection": "row",
"marginTop": 5,
@@ -72,7 +73,7 @@ exports[`AttachmentFooter it matches snapshot when footer text is provided 1`] =
ellipsizeMode="tail"
numberOfLines={1}
style={
Object {
{
"color": "rgba(63,67,80,0.5)",
"fontSize": 11,
}

View File

@@ -3,15 +3,15 @@
exports[`renderSystemMessage uses renderer for Channel Display Name update 1`] = `
<View
style={
Object {
{
"marginBottom": 5,
}
}
>
<View
style={
Array [
Object {
[
{
"alignItems": "flex-start",
"flexDirection": "row",
"flexWrap": "wrap",
@@ -23,29 +23,29 @@ exports[`renderSystemMessage uses renderer for Channel Display Name update 1`] =
<Text>
<Text
style={
Array [
Object {
[
{
"color": "rgba(63,67,80,0.6)",
"fontFamily": "OpenSans",
"fontSize": 16,
"fontWeight": "400",
"lineHeight": 24,
},
Object {
{
"opacity": 1,
},
]
}
>
<Text
style={Array []}
style={[]}
>
@username
</Text>
</Text>
<Text
style={
Object {
{
"color": "rgba(63,67,80,0.6)",
"fontFamily": "OpenSans",
"fontSize": 16,
@@ -65,15 +65,15 @@ exports[`renderSystemMessage uses renderer for Channel Display Name update 1`] =
exports[`renderSystemMessage uses renderer for Channel Header update 1`] = `
<View
style={
Object {
{
"marginBottom": 5,
}
}
>
<View
style={
Array [
Object {
[
{
"alignItems": "flex-start",
"flexDirection": "row",
"flexWrap": "wrap",
@@ -85,29 +85,29 @@ exports[`renderSystemMessage uses renderer for Channel Header update 1`] = `
<Text>
<Text
style={
Array [
Object {
[
{
"color": "rgba(63,67,80,0.6)",
"fontFamily": "OpenSans",
"fontSize": 16,
"fontWeight": "400",
"lineHeight": 24,
},
Object {
{
"opacity": 1,
},
]
}
>
<Text
style={Array []}
style={[]}
>
@username
</Text>
</Text>
<Text
style={
Object {
{
"color": "rgba(63,67,80,0.6)",
"fontFamily": "OpenSans",
"fontSize": 16,
@@ -127,7 +127,7 @@ exports[`renderSystemMessage uses renderer for Channel Header update 1`] = `
exports[`renderSystemMessage uses renderer for Channel Purpose update 1`] = `
<Text
style={
Object {
{
"color": "rgba(63,67,80,0.6)",
"fontFamily": "OpenSans",
"fontSize": 16,
@@ -143,15 +143,15 @@ exports[`renderSystemMessage uses renderer for Channel Purpose update 1`] = `
exports[`renderSystemMessage uses renderer for Guest added and join to channel 1`] = `
<View
style={
Object {
{
"marginBottom": 5,
}
}
>
<View
style={
Array [
Object {
[
{
"alignItems": "flex-start",
"flexDirection": "row",
"flexWrap": "wrap",
@@ -163,29 +163,29 @@ exports[`renderSystemMessage uses renderer for Guest added and join to channel 1
<Text>
<Text
style={
Array [
Object {
[
{
"color": "rgba(63,67,80,0.6)",
"fontFamily": "OpenSans",
"fontSize": 16,
"fontWeight": "400",
"lineHeight": 24,
},
Object {
{
"opacity": 1,
},
]
}
>
<Text
style={Array []}
style={[]}
>
@username
</Text>
</Text>
<Text
style={
Object {
{
"color": "rgba(63,67,80,0.6)",
"fontFamily": "OpenSans",
"fontSize": 16,
@@ -205,15 +205,15 @@ exports[`renderSystemMessage uses renderer for Guest added and join to channel 1
exports[`renderSystemMessage uses renderer for Guest added and join to channel 2`] = `
<View
style={
Object {
{
"marginBottom": 5,
}
}
>
<View
style={
Array [
Object {
[
{
"alignItems": "flex-start",
"flexDirection": "row",
"flexWrap": "wrap",
@@ -225,29 +225,29 @@ exports[`renderSystemMessage uses renderer for Guest added and join to channel 2
<Text>
<Text
style={
Array [
Object {
[
{
"color": "rgba(63,67,80,0.6)",
"fontFamily": "OpenSans",
"fontSize": 16,
"fontWeight": "400",
"lineHeight": 24,
},
Object {
{
"opacity": 1,
},
]
}
>
<Text
style={Array []}
style={[]}
>
@other.user
</Text>
</Text>
<Text
style={
Object {
{
"color": "rgba(63,67,80,0.6)",
"fontFamily": "OpenSans",
"fontSize": 16,
@@ -261,22 +261,22 @@ exports[`renderSystemMessage uses renderer for Guest added and join to channel 2
</Text>
<Text
style={
Array [
Object {
[
{
"color": "rgba(63,67,80,0.6)",
"fontFamily": "OpenSans",
"fontSize": 16,
"fontWeight": "400",
"lineHeight": 24,
},
Object {
{
"opacity": 1,
},
]
}
>
<Text
style={Array []}
style={[]}
>
@username.
</Text>
@@ -289,15 +289,15 @@ exports[`renderSystemMessage uses renderer for Guest added and join to channel 2
exports[`renderSystemMessage uses renderer for OLD archived channel without a username 1`] = `
<View
style={
Object {
{
"marginBottom": 5,
}
}
>
<View
style={
Array [
Object {
[
{
"alignItems": "flex-start",
"flexDirection": "row",
"flexWrap": "wrap",
@@ -309,7 +309,7 @@ exports[`renderSystemMessage uses renderer for OLD archived channel without a us
<Text>
<Text
style={
Object {
{
"color": "rgba(63,67,80,0.6)",
"fontFamily": "OpenSans",
"fontSize": 16,
@@ -329,15 +329,15 @@ exports[`renderSystemMessage uses renderer for OLD archived channel without a us
exports[`renderSystemMessage uses renderer for archived channel 1`] = `
<View
style={
Object {
{
"marginBottom": 5,
}
}
>
<View
style={
Array [
Object {
[
{
"alignItems": "flex-start",
"flexDirection": "row",
"flexWrap": "wrap",
@@ -349,29 +349,29 @@ exports[`renderSystemMessage uses renderer for archived channel 1`] = `
<Text>
<Text
style={
Array [
Object {
[
{
"color": "rgba(63,67,80,0.6)",
"fontFamily": "OpenSans",
"fontSize": 16,
"fontWeight": "400",
"lineHeight": 24,
},
Object {
{
"opacity": 1,
},
]
}
>
<Text
style={Array []}
style={[]}
>
@username
</Text>
</Text>
<Text
style={
Object {
{
"color": "rgba(63,67,80,0.6)",
"fontFamily": "OpenSans",
"fontSize": 16,
@@ -391,15 +391,15 @@ exports[`renderSystemMessage uses renderer for archived channel 1`] = `
exports[`renderSystemMessage uses renderer for unarchived channel 1`] = `
<View
style={
Object {
{
"marginBottom": 5,
}
}
>
<View
style={
Array [
Object {
[
{
"alignItems": "flex-start",
"flexDirection": "row",
"flexWrap": "wrap",
@@ -411,29 +411,29 @@ exports[`renderSystemMessage uses renderer for unarchived channel 1`] = `
<Text>
<Text
style={
Array [
Object {
[
{
"color": "rgba(63,67,80,0.6)",
"fontFamily": "OpenSans",
"fontSize": 16,
"fontWeight": "400",
"lineHeight": 24,
},
Object {
{
"opacity": 1,
},
]
}
>
<Text
style={Array []}
style={[]}
>
@username
</Text>
</Text>
<Text
style={
Object {
{
"color": "rgba(63,67,80,0.6)",
"fontFamily": "OpenSans",
"fontSize": 16,

View File

@@ -3,8 +3,8 @@
exports[`ThreadOverview should match snapshot when post is not saved and 0 replies 1`] = `
<View
style={
Array [
Object {
[
{
"borderBottomWidth": 1,
"borderColor": "rgba(63,67,80,0.1)",
"borderTopWidth": 1,
@@ -13,7 +13,7 @@ exports[`ThreadOverview should match snapshot when post is not saved and 0 repli
"paddingHorizontal": 16,
"paddingVertical": 10,
},
Object {
{
"borderBottomWidth": 0,
},
undefined,
@@ -23,14 +23,14 @@ exports[`ThreadOverview should match snapshot when post is not saved and 0 repli
>
<View
style={
Object {
{
"flex": 1,
}
}
>
<Text
style={
Object {
{
"color": "rgba(63,67,80,0.64)",
"fontFamily": "OpenSans",
"fontSize": 16,
@@ -46,13 +46,15 @@ exports[`ThreadOverview should match snapshot when post is not saved and 0 repli
</View>
<View
style={
Object {
{
"flexDirection": "row",
}
}
>
<RNGestureHandlerButton
collapsable={false}
delayLongPress={600}
enabled={true}
exclusive={true}
handlerTag={1}
handlerType="NativeViewGestureHandler"
@@ -68,7 +70,7 @@ exports[`ThreadOverview should match snapshot when post is not saved and 0 repli
accessible={true}
collapsable={false}
style={
Object {
{
"marginLeft": 16,
"opacity": 1,
}
@@ -83,6 +85,8 @@ exports[`ThreadOverview should match snapshot when post is not saved and 0 repli
</RNGestureHandlerButton>
<RNGestureHandlerButton
collapsable={false}
delayLongPress={600}
enabled={true}
exclusive={true}
handlerTag={2}
handlerType="NativeViewGestureHandler"
@@ -98,7 +102,7 @@ exports[`ThreadOverview should match snapshot when post is not saved and 0 repli
accessible={true}
collapsable={false}
style={
Object {
{
"marginLeft": 16,
"opacity": 1,
}
@@ -118,8 +122,8 @@ exports[`ThreadOverview should match snapshot when post is not saved and 0 repli
exports[`ThreadOverview should match snapshot when post is saved and has replies 1`] = `
<View
style={
Array [
Object {
[
{
"borderBottomWidth": 1,
"borderColor": "rgba(63,67,80,0.1)",
"borderTopWidth": 1,
@@ -135,14 +139,14 @@ exports[`ThreadOverview should match snapshot when post is saved and has replies
>
<View
style={
Object {
{
"flex": 1,
}
}
>
<Text
style={
Object {
{
"color": "rgba(63,67,80,0.64)",
"fontFamily": "OpenSans",
"fontSize": 16,
@@ -158,13 +162,15 @@ exports[`ThreadOverview should match snapshot when post is saved and has replies
</View>
<View
style={
Object {
{
"flexDirection": "row",
}
}
>
<RNGestureHandlerButton
collapsable={false}
delayLongPress={600}
enabled={true}
exclusive={true}
handlerTag={3}
handlerType="NativeViewGestureHandler"
@@ -180,7 +186,7 @@ exports[`ThreadOverview should match snapshot when post is saved and has replies
accessible={true}
collapsable={false}
style={
Object {
{
"marginLeft": 16,
"opacity": 1,
}
@@ -195,6 +201,8 @@ exports[`ThreadOverview should match snapshot when post is saved and has replies
</RNGestureHandlerButton>
<RNGestureHandlerButton
collapsable={false}
delayLongPress={600}
enabled={true}
exclusive={true}
handlerTag={4}
handlerType="NativeViewGestureHandler"
@@ -210,7 +218,7 @@ exports[`ThreadOverview should match snapshot when post is saved and has replies
accessible={true}
collapsable={false}
style={
Object {
{
"marginLeft": 16,
"opacity": 1,
}

View File

@@ -4,7 +4,7 @@ exports[`Server Icon Server Icon Component should match snapshot 1`] = `
<View>
<View
accessibilityState={
Object {
{
"disabled": true,
}
}
@@ -12,7 +12,7 @@ exports[`Server Icon Server Icon Component should match snapshot 1`] = `
collapsable={false}
focusable={false}
hitSlop={
Object {
{
"bottom": 5,
"left": 40,
"right": 20,
@@ -27,7 +27,7 @@ exports[`Server Icon Server Icon Component should match snapshot 1`] = `
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
Object {
{
"opacity": 1,
}
}
@@ -45,7 +45,7 @@ exports[`Server Icon Server Icon Component should match snapshot with mentions 1
<View>
<View
accessibilityState={
Object {
{
"disabled": true,
}
}
@@ -53,7 +53,7 @@ exports[`Server Icon Server Icon Component should match snapshot with mentions 1
collapsable={false}
focusable={false}
hitSlop={
Object {
{
"bottom": 5,
"left": 40,
"right": 20,
@@ -68,7 +68,7 @@ exports[`Server Icon Server Icon Component should match snapshot with mentions 1
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
Object {
{
"opacity": 1,
}
}
@@ -83,7 +83,7 @@ exports[`Server Icon Server Icon Component should match snapshot with mentions 1
collapsable={false}
numberOfLines={1}
style={
Object {
{
"alignSelf": "flex-end",
"backgroundColor": "#ffffff",
"borderColor": "#14213e",
@@ -102,8 +102,8 @@ exports[`Server Icon Server Icon Component should match snapshot with mentions 1
"position": "absolute",
"textAlign": "center",
"top": -8,
"transform": Array [
Object {
"transform": [
{
"scale": 1,
},
],
@@ -121,7 +121,7 @@ exports[`Server Icon Server Icon Component should match snapshot with unreads 1`
<View>
<View
accessibilityState={
Object {
{
"disabled": true,
}
}
@@ -129,7 +129,7 @@ exports[`Server Icon Server Icon Component should match snapshot with unreads 1`
collapsable={false}
focusable={false}
hitSlop={
Object {
{
"bottom": 5,
"left": 40,
"right": 20,
@@ -144,7 +144,7 @@ exports[`Server Icon Server Icon Component should match snapshot with unreads 1`
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
Object {
{
"opacity": 1,
}
}
@@ -159,7 +159,7 @@ exports[`Server Icon Server Icon Component should match snapshot with unreads 1`
collapsable={false}
numberOfLines={1}
style={
Object {
{
"alignSelf": "flex-end",
"backgroundColor": "#ffffff",
"borderColor": "#14213e",
@@ -178,8 +178,8 @@ exports[`Server Icon Server Icon Component should match snapshot with unreads 1`
"position": "absolute",
"textAlign": "center",
"top": -5,
"transform": Array [
Object {
"transform": [
{
"scale": 1,
},
],

View File

@@ -4,7 +4,7 @@ exports[`UserStatus should match snapshot, away status 1`] = `
<Icon
name="clock"
style={
Object {
{
"color": "#ffbc1f",
"fontSize": 32,
}
@@ -17,7 +17,7 @@ exports[`UserStatus should match snapshot, dnd status 1`] = `
<Icon
name="minus-circle"
style={
Object {
{
"color": "#d24b4e",
"fontSize": 32,
}
@@ -30,7 +30,7 @@ exports[`UserStatus should match snapshot, online status 1`] = `
<Icon
name="check-circle"
style={
Object {
{
"color": "#3db887",
"fontSize": 32,
}
@@ -43,7 +43,7 @@ exports[`UserStatus should match snapshot, should default to offline status 1`]
<Icon
name="circle-outline"
style={
Object {
{
"color": "rgba(184,184,184,0.64)",
"fontSize": 32,
}