Skip to content

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

support transparent dialogs

ammarahm-ed4c98a5d58a2a
diff --git a/apps/mobile/src/components/Dialog/BaseDialog.js b/apps/mobile/src/components/Dialog/BaseDialog.js
index 4bf88aa8b..0e320097b 100644
--- a/apps/mobile/src/components/Dialog/BaseDialog.js
+++ b/apps/mobile/src/components/Dialog/BaseDialog.js
@@ -20,6 +20,7 @@ const BaseDialog = ({
statusBarTranslucent = true,
transparent,
centered = true,
+ background = null
}) => {
const [state, dispatch] = useTracked();
@@ -39,7 +40,7 @@ const BaseDialog = ({
onRequestClose={onRequestClose}>
<SafeAreaView
style={{
- backgroundColor: transparent
+ backgroundColor:background? background : transparent
? 'transparent'
: state.colors.night
? 'rgba(255,255,255,0.15)'