Skip to content
Snippets Groups Projects

fixed fontfamily bug on iOS

Merged Jorunn Leithe requested to merge bug/fontfamily into master
1 file
+ 6
6
Compare changes
  • Side-by-side
  • Inline
@@ -22,7 +22,7 @@ export const HomeScreen = ({ navigation }: any) => {
@@ -22,7 +22,7 @@ export const HomeScreen = ({ navigation }: any) => {
flex: 4,
flex: 4,
justifyContent: "center",
justifyContent: "center",
flexDirection: "row",
flexDirection: "row",
alignItems: "flex-end",
alignItems: "flex-end"
}}
}}
>
>
<Icon name="home" solid color="#4FD1C5" size={200} />
<Icon name="home" solid color="#4FD1C5" size={200} />
@@ -31,7 +31,7 @@ export const HomeScreen = ({ navigation }: any) => {
@@ -31,7 +31,7 @@ export const HomeScreen = ({ navigation }: any) => {
style={{
style={{
flex: 1,
flex: 1,
justifyContent: "center",
justifyContent: "center",
flexDirection: "row",
flexDirection: "row"
}}
}}
>
>
<Text
<Text
@@ -39,7 +39,7 @@ export const HomeScreen = ({ navigation }: any) => {
@@ -39,7 +39,7 @@ export const HomeScreen = ({ navigation }: any) => {
color: "#4FD1C5",
color: "#4FD1C5",
fontSize: 40,
fontSize: 40,
fontWeight: "bold",
fontWeight: "bold",
fontFamily: "",
fontFamily: "space-mono"
}}
}}
>
>
STUDENTBOLIGER
STUDENTBOLIGER
@@ -49,7 +49,7 @@ export const HomeScreen = ({ navigation }: any) => {
@@ -49,7 +49,7 @@ export const HomeScreen = ({ navigation }: any) => {
style={{
style={{
flex: 2,
flex: 2,
flexDirection: "row",
flexDirection: "row",
paddingHorizontal: 10,
paddingHorizontal: 10
}}
}}
>
>
<Text style={{ textAlign: "center", fontSize: 18 }}>
<Text style={{ textAlign: "center", fontSize: 18 }}>
@@ -81,6 +81,6 @@ const styles = StyleSheet.create({
@@ -81,6 +81,6 @@ const styles = StyleSheet.create({
flex: 3,
flex: 3,
flexDirection: "column",
flexDirection: "column",
width: "100%",
width: "100%",
backgroundColor: "#2D3748",
backgroundColor: "#2D3748"
},
}
});
});
Loading