diff --git a/src/components/pages/discover/view-hashtag.js b/src/components/pages/discover/view-hashtag.js index 48519aa..d095133 100644 --- a/src/components/pages/discover/view-hashtag.js +++ b/src/components/pages/discover/view-hashtag.js @@ -2,15 +2,15 @@ import React, { useState } from "react"; import { View, Image, Dimensions, Text } from "react-native"; import { ScreenWithFullNavigationJsx } from "src/components/navigation/navigators"; import PagedGridJsx from "src/components/posts/paged-grid"; -import { TouchableWithoutFeedback } from "react-native-gesture-handler"; +import { TouchableOpacity } from "react-native-gesture-handler"; const FollowHashtagButtonJsx = ({followed, onPress}) => { return ( - @@ -18,7 +18,7 @@ const FollowHashtagButtonJsx = ({followed, onPress}) => { style = { followed ? { color: "white" } : {} }> { followed ? "Followed" : "Follow" } - + ); }; @@ -43,13 +43,13 @@ const ViewHashtagJsx = ({navigation}) => { - #{ state.name } + #{ state.name } { state.nPosts } posts - { // Send request to follow hashtag and such... @@ -69,34 +69,34 @@ const ViewHashtagJsx = ({navigation}) => { const screen_width = Dimensions.get("window").width; const styles = { headerContainer: { - display: "flex", flexDirection: "row", alignItems: "center", padding: 15, - borderBottom: "2px solid black" }, image: { width: screen_width / 3, height: screen_width / 3, - border: "2px solid black", + borderWidth: 1, + borderColor: "#888", borderRadius: "100%", - marginRight: 20 + marginRight: 20, }, hashtag: { fontWeight: "bold", fontSize: 20 }, button: { - border: "2px solid black", + borderWidth: 1, + borderColor: "#888", borderRadius: 5, padding: 10, paddingLeft: 30, paddingRight: 30, - marginTop: 10 + marginTop: 10, }, strong: { - fontWeight: "bold" + fontWeight: "bold", }, } -export default ViewHashtagJsx; \ No newline at end of file +export default ViewHashtagJsx;