Skip to content

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

increase toast width on tablets

ammarahm-ed3bf599d46916
diff --git a/apps/mobile/src/components/Toast/index.js b/apps/mobile/src/components/Toast/index.js
index dd3661439..d17d1970f 100644
--- a/apps/mobile/src/components/Toast/index.js
+++ b/apps/mobile/src/components/Toast/index.js
@@ -138,7 +138,7 @@ export const Toast = ({context = 'global'}) => {
return (
<Animated.View
style={{
- width: DDS.isTab ? 300 : '100%',
+ width: DDS.isTab ? 400 : '100%',
alignItems: 'center',
alignSelf: 'center',
minHeight: 30,
@@ -213,6 +213,10 @@ export const Toast = ({context = 'global'}) => {
{data?.message ? (
<Paragraph
color={colors.pri}
+ style={{
+ maxWidth: '100%',
+ paddingRight: 10,
+ }}
onPress={() => {
hideToastFunc();
}}>