diff --git a/__tests__/__snapshots__/Storyshots.test.js.snap b/__tests__/__snapshots__/Storyshots.test.js.snap
index 3169fb2e..0b28e1ae 100644
--- a/__tests__/__snapshots__/Storyshots.test.js.snap
+++ b/__tests__/__snapshots__/Storyshots.test.js.snap
@@ -5161,6 +5161,25 @@ exports[`Storyshots UiKitMessage list uikitmessage 1`] = `
>
Section
+
+ Section + Markdown List
+
- {text ? {parser.text(text)} : null}
+ {text ? {parser.text(text)} : null}
{fields ? : null}
{accessory ? : null}
diff --git a/app/containers/UIKit/index.js b/app/containers/UIKit/index.js
index 5d8e36bf..84cac886 100644
--- a/app/containers/UIKit/index.js
+++ b/app/containers/UIKit/index.js
@@ -1,6 +1,6 @@
/* eslint-disable class-methods-use-this */
import React, { useContext } from 'react';
-import { StyleSheet } from 'react-native';
+import { StyleSheet, Text } from 'react-native';
import {
uiKitMessage,
UiKitParserMessage,
@@ -13,8 +13,9 @@ import Markdown from '../markdown';
import Button from '../Button';
import TextInput from '../TextInput';
-import { useBlockContext } from './utils';
+import { useBlockContext, textParser } from './utils';
import { themes } from '../../constants/colors';
+import sharedStyles from '../../views/Styles';
import { Divider } from './Divider';
import { Section } from './Section';
@@ -37,6 +38,12 @@ const styles = StyleSheet.create({
},
button: {
marginBottom: 16
+ },
+ text: {
+ fontSize: 16,
+ lineHeight: 22,
+ textAlignVertical: 'center',
+ ...sharedStyles.textRegular
}
});
@@ -46,7 +53,7 @@ class MessageParser extends UiKitParserMessage {
text({ text, type } = { text: '' }, context) {
const { theme } = useContext(ThemeContext);
if (type !== 'mrkdwn') {
- return text;
+ return {text};
}
const isContext = context === BLOCK_CONTEXT.CONTEXT;
@@ -70,7 +77,7 @@ class MessageParser extends UiKitParserMessage {