Skip to content

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

mobile: fix base dialog background is always transparent

Ammar Ahmed39bfff6b145a
diff --git a/apps/mobile/app/components/dialog/base-dialog.tsx b/apps/mobile/app/components/dialog/base-dialog.tsx
index f2b0ce4b2..035b4a2fb 100644
--- a/apps/mobile/app/components/dialog/base-dialog.tsx
+++ b/apps/mobile/app/components/dialog/base-dialog.tsx
@@ -136,7 +136,7 @@ const BaseDialog = ({
? background
: transparent
? "transparent"
- : "rgba(0,0,0,0.3)"
+ : "rgba(0,0,0,0.1)"
}}
>
<KeyboardAvoidingView
diff --git a/apps/mobile/app/components/dialog/index.tsx b/apps/mobile/app/components/dialog/index.tsx
index 9e8db457e..ed1b273b2 100644
--- a/apps/mobile/app/components/dialog/index.tsx
+++ b/apps/mobile/app/components/dialog/index.tsx
@@ -173,7 +173,7 @@ export const Dialog = ({ context = "global" }: { context?: string }) => {
closeOnTouch={!dialogInfo.disableBackdropClosing}
background={dialogInfo.background}
transparent={
- dialogInfo.transparent === undefined ? true : dialogInfo.transparent
+ dialogInfo.transparent === undefined ? false : dialogInfo.transparent
}
onShow={async () => {
if (dialogInfo.input && !dialogInfo.form) {