* sidebar lists displays past bottom safe area insets * Sidebar animation speed * Sidebar improvements * Add status icons and avatars to mattermost font * Bot icon the same size as other channel icons * improvements to the channel badge * Badge color and border * More precision when showing more unread above * Improve GM icon * Fix badge on team sidebar * Align channel sidebar badges * alignments * Fix tests * Remove unnecessary isLandscape in main sidebar connector
80 lines
1.5 KiB
Text
80 lines
1.5 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Badge should match snapshot 1`] = `
|
|
<View
|
|
style={
|
|
Array [
|
|
Object {
|
|
"borderRadius": 20,
|
|
"position": "absolute",
|
|
"right": 30,
|
|
"top": 2,
|
|
},
|
|
Object {
|
|
"borderColor": "#000000",
|
|
},
|
|
]
|
|
}
|
|
>
|
|
<View
|
|
style={
|
|
Array [
|
|
Object {
|
|
"backgroundColor": "#444",
|
|
"height": 20,
|
|
"padding": 12,
|
|
"paddingBottom": 3,
|
|
"paddingTop": 3,
|
|
},
|
|
Object {
|
|
"backgroundColor": "#ffffff",
|
|
},
|
|
Object {
|
|
"opacity": 0,
|
|
},
|
|
]
|
|
}
|
|
>
|
|
<View
|
|
style={
|
|
Object {
|
|
"alignItems": "center",
|
|
"alignSelf": "center",
|
|
"flex": 1,
|
|
"justifyContent": "center",
|
|
}
|
|
}
|
|
>
|
|
<View
|
|
style={
|
|
Object {
|
|
"alignItems": "center",
|
|
"flex": 1,
|
|
"flexDirection": "row",
|
|
"justifyContent": "center",
|
|
"textAlignVertical": "center",
|
|
}
|
|
}
|
|
>
|
|
<Text
|
|
onLayout={[Function]}
|
|
style={
|
|
Array [
|
|
Object {
|
|
"color": "white",
|
|
"fontSize": 14,
|
|
},
|
|
Object {
|
|
"color": "#145dbf",
|
|
"fontSize": 10,
|
|
},
|
|
]
|
|
}
|
|
>
|
|
99+
|
|
</Text>
|
|
</View>
|
|
</View>
|
|
</View>
|
|
</View>
|
|
`;
|