A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
add Roboto Medium font on android
ammarahm-ed224973932d8b
diff --git a/apps/mobile/android/app/src/main/assets/fonts/Roboto-Medium.ttf b/apps/mobile/android/app/src/main/assets/fonts/Roboto-Medium.ttfnew file mode 100644index 000000000..e89b0b79aBinary files /dev/null and b/apps/mobile/android/app/src/main/assets/fonts/Roboto-Medium.ttf differdiff --git a/apps/mobile/src/components/Typography/Heading.js b/apps/mobile/src/components/Typography/Heading.jsindex de1a5fb15..41b589a6c 100644--- a/apps/mobile/src/components/Typography/Heading.js+++ b/apps/mobile/src/components/Typography/Heading.js@@ -1,4 +1,5 @@import React from 'react';+import { Platform } from 'react-native';import { Text } from 'react-native';import { useTracked } from '../../provider';import { SIZE } from '../../utils/SizeUtils';@@ -27,7 +28,8 @@ const Heading = ({color, size = SIZE.xl, style, ...restProps}) => {{fontSize: size || SIZE.xl,color: color || colors.heading,- fontWeight: 'bold',+ fontFamily:Platform.OS === "android" ? "Roboto-Medium" : null,+ fontWeight:Platform.OS === "ios" ? "bold" : null},style,]}></Text>