Skip to content

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

fix incorrect toast width

ammarahm-edd7fe54d5a711
diff --git a/apps/mobile/src/components/Toast/index.js b/apps/mobile/src/components/Toast/index.js
index f0c6e15ef..7a3b49f7e 100644
--- a/apps/mobile/src/components/Toast/index.js
+++ b/apps/mobile/src/components/Toast/index.js
@@ -155,7 +155,7 @@ export const Toast = ({context = 'global'}) => {
style={{
flexDirection: 'row',
alignItems: 'center',
- maxWidth: data.func ? '90%' : '75%',
+ maxWidth: !data.func ? '90%' : '75%',
}}>
<View
style={{
@@ -181,6 +181,7 @@ export const Toast = ({context = 'global'}) => {
}}
style={{
color: 'white',
+ width:'100%',
backgroundColor: 'transparent',
fontSize: SIZE.sm,
}}>