Skip to content

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

fix width of text in menu

ammarahm-edb6ea3f36dc7e
diff --git a/apps/mobile/src/components/Menu/UserSection.js b/apps/mobile/src/components/Menu/UserSection.js
index 6340b730f..a8a80efec 100644
--- a/apps/mobile/src/components/Menu/UserSection.js
+++ b/apps/mobile/src/components/Menu/UserSection.js
@@ -2,6 +2,7 @@ import React from 'react';
import {ActivityIndicator, TouchableOpacity, View} from 'react-native';
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
import {useTracked} from '../../provider';
+import { DDS } from '../../services/DeviceDetection';
import {eSendEvent, ToastEvent} from '../../services/EventManager';
import Sync from '../../services/Sync';
import {eOpenLoginDialog} from '../../utils/Events';
@@ -59,7 +60,7 @@ export const UserSection = ({noTextMode}) => {
<Paragraph
style={{
- maxWidth: '96%',
+ maxWidth:DDS.isLargeTablet()? '96%' : '100%',
}}
color={colors.icon}>
Login to encrypt and sync your notes.