Skip to content

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

add permium toast to BaseDialog

ammarahm-ede0d3cb80e74c
diff --git a/apps/mobile/src/components/Dialog/BaseDialog.js b/apps/mobile/src/components/Dialog/BaseDialog.js
index fbd431939..8e90f3824 100644
--- a/apps/mobile/src/components/Dialog/BaseDialog.js
+++ b/apps/mobile/src/components/Dialog/BaseDialog.js
@@ -14,6 +14,7 @@ const BaseDialog = ({
children,
onShow,
animation = 'fade',
+ premium
}) => {
const [state, dispatch] = useTracked();
const scaleValue = new Animated.Value(1);
@@ -44,6 +45,7 @@ const BaseDialog = ({
onPress={onRequestClose}
style={styles.overlayButton}
/>
+ {premium}
{children}
</View>