diff --git a/app/mobile/src/session/profile/Profile.jsx b/app/mobile/src/session/profile/Profile.jsx index 932112a9..1b6e93a9 100644 --- a/app/mobile/src/session/profile/Profile.jsx +++ b/app/mobile/src/session/profile/Profile.jsx @@ -138,7 +138,7 @@ export function Profile() { setVisible(!state.searchable)}> { state.strings.visibleRegistry } - @@ -208,7 +208,7 @@ export function Profile() { - + diff --git a/app/mobile/src/session/settings/Settings.jsx b/app/mobile/src/session/settings/Settings.jsx index 791763f8..ec10d24b 100644 --- a/app/mobile/src/session/settings/Settings.jsx +++ b/app/mobile/src/session/settings/Settings.jsx @@ -171,8 +171,10 @@ export function Settings() { - { state.strings.enableNotifications } - setNotifications(!state.pushEnabled)}> + { state.strings.enableNotifications } + + @@ -331,8 +333,9 @@ export function Settings() { supportedOrientations={['portrait', 'landscape']} onRequestClose={actions.hideEditSeal} > - - + + + @@ -497,8 +500,8 @@ export function Settings() { )} - - + + - - + + + @@ -561,8 +565,8 @@ export function Settings() { )} - - + + - - - - - - - - { state.strings.deleteAccount } - - - - - - { state.confirm === state.strings.deleteKey && ( - - { state.strings.delete } + + + + + + + - )} - { state.confirm !== state.strings.deleteKey && ( - - { state.strings.delete } - - )} + + { state.strings.deleteAccount } + + + + + + { state.confirm === state.strings.deleteKey && ( + + { state.strings.delete } + + )} + { state.confirm !== state.strings.deleteKey && ( + + { state.strings.delete } + + )} + - - + + - - - - - - - - { state.strings.blockedContacts } - - - { state.contacts.length === 0 && ( - - { state.strings.noBlockedContacts } - - )} - { state.contacts.length !== 0 && ( - item.cardId} - /> - )} - - - - { state.strings.close } - + + + + + + + + + + { state.strings.blockedContacts } + + + { state.contacts.length === 0 && ( + + { state.strings.noBlockedContacts } + + )} + { state.contacts.length !== 0 && ( + item.cardId} + /> + )} + + + + { state.strings.close } + + - + - - - - - - - - { state.strings.blockedTopics } - - - { state.topics.length === 0 && ( - - { state.strings.noBlockedTopics } - - )} - { state.topics.length !== 0 && ( - `${item.cardId}.${item.channelId}`} - /> - )} - - - - { state.strings.close } - + + + + + + + + + + { state.strings.blockedTopics } + + + { state.topics.length === 0 && ( + + { state.strings.noBlockedTopics } + + )} + { state.topics.length !== 0 && ( + `${item.cardId}.${item.channelId}`} + /> + )} + + + + { state.strings.close } + + - + - - - - - - - - { state.strings.blockedMessages } - - - { state.messages.length === 0 && ( - - { state.strings.noBlockedMessages } - - )} - { state.messages.length !== 0 && ( - `${item.cardId}.${item.channelId}.${item.topicId}`} - /> - )} - - - - { state.strings.close } - + + + + + + + + + + { state.strings.blockedMessages } + + + { state.messages.length === 0 && ( + + { state.strings.noBlockedMessages } + + )} + { state.messages.length !== 0 && ( + `${item.cardId}.${item.channelId}.${item.topicId}`} + /> + )} + + + + { state.strings.close } + + - + diff --git a/app/mobile/src/session/settings/Settings.styled.js b/app/mobile/src/session/settings/Settings.styled.js index e2abd1ee..6423d027 100644 --- a/app/mobile/src/session/settings/Settings.styled.js +++ b/app/mobile/src/session/settings/Settings.styled.js @@ -115,11 +115,18 @@ export const styles = StyleSheet.create({ transform: [{ scaleX: .6 }, { scaleY: .6 }], }, modalOverlay: { + width: '100%', + height: '100%', + }, + modalBase: { display: 'flex', width: '100%', height: '100%', alignItems: 'center', justifyContent: 'center', + position: 'absolute', + top: 0, + left: 0, }, modalContainer: { backgroundColor: Colors.modalBase,