Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

set textBreakStrategy to balanced in list placeholder

ammarahm-ed0ad1711e474b
diff --git a/apps/mobile/src/components/SimpleList/empty.js b/apps/mobile/src/components/SimpleList/empty.js
index 98418f2f1..3f3b6e2b4 100644
--- a/apps/mobile/src/components/SimpleList/empty.js
+++ b/apps/mobile/src/components/SimpleList/empty.js
@@ -22,7 +22,7 @@ export const Empty = ({loading = true, placeholderData}) => {
const onHeaderStateChange = (event) => {
if (!event) return;
- setHeaderTextState(event);
+ setHeaderTextState(event);
};
useEffect(() => {
eSubscribeEvent('onHeaderStateChange', onHeaderStateChange);
@@ -48,6 +48,7 @@ export const Empty = ({loading = true, placeholderData}) => {
}}>
<Heading>{placeholderData.heading}</Heading>
<Paragraph
+ textBreakStrategy="balanced"
style={{
textAlign: 'center',
width: '80%',