diff --git a/src/components/navigation/navigators.js b/src/components/navigation/navigators.js index af1c131..e4b0f4e 100644 --- a/src/components/navigation/navigators.js +++ b/src/components/navigation/navigators.js @@ -9,7 +9,7 @@ import TrayJsx from "src/components/navigation/tray"; export const ScreenWithTrayJsx = (props) => { return ( - + { }) .then(() => setState({...state, - posts: posts, + posts, loaded: true, }) ); @@ -68,25 +69,35 @@ const FeedJsx = (props) => { { state.loaded ? - + - - + + - + You're all caught up. Wow, it sure is a lovely day outside 🌳 props.navigation.navigate("OlderPosts") }> @@ -107,32 +118,34 @@ const styles = { timeline: { height: screen_height - (screen_height / 12) }, - interruptionOuter: { - borderTopWidth: 1, - borderTopColor: "#CCC", + ifCaughtUp: { + flexGrow: 1, + justifyContent: "center", }, interruption: { - marginTop: 10, - marginBottom: 10, + topBorder: { + borderTopWidth: 1, + borderTopColor: "#CCC", + }, + inner: { + marginTop: 10, + marginBottom: 10, - justifyContent: "center", - alignItems: "center", - }, - interruptionHeader: { - fontSize: 21 - }, - checkmark: { - width: screen_width * 0.3, - height: screen_width * 0.3 - }, - buttonOlder: { - borderWidth: 1, - borderColor: "#888", - borderRadius: 5, + justifyContent: "center", + alignItems: "center", + }, + header: { + fontSize: 21 + }, + button: { + borderWidth: 1, + borderColor: "#888", + borderRadius: 5, - margin: 30, - padding: 5 - } + margin: 30, + padding: 5 + }, + }, }; export default FeedJsx;