Skip to content

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

use direct store link when asked for rating app

ammarahm-ed38747c28df4a
diff --git a/apps/mobile/src/components/RateDialog/index.js b/apps/mobile/src/components/RateDialog/index.js
index aea6da73a..4121cdf8e 100644
--- a/apps/mobile/src/components/RateDialog/index.js
+++ b/apps/mobile/src/components/RateDialog/index.js
@@ -9,6 +9,7 @@ import {Button} from '../Button';
import Seperator from '../Seperator';
import Heading from '../Typography/Heading';
import Paragraph from '../Typography/Paragraph';
+import { STORE_LINK } from '../../utils';
const RateDialog = () => {
const [visible, setVisible] = useState(false);
@@ -64,12 +65,7 @@ const RateDialog = () => {
<Seperator half />
<Button
onPress={async () => {
- await Linking.openURL(
- Platform.OS === 'ios'
- ? 'https://bit.ly/notesnook-ios'
- : 'https://bit.ly/notesnook-and'
- );
-
+ await Linking.openURL(STORE_LINK);
await MMKV.setItem('askForRating', 'completed');
setVisible(false);
}}