From adc25ce468666bf38892cc8251165a6fde37a2e1 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 26 Jul 2022 10:11:02 -0500 Subject: [PATCH] Fix layout in profile view --- src/view/screens/stacks/Profile.tsx | 29 ++++++++++++++++++++++------- todos.txt | 2 ++ 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/src/view/screens/stacks/Profile.tsx b/src/view/screens/stacks/Profile.tsx index 033d3c27..d8de1243 100644 --- a/src/view/screens/stacks/Profile.tsx +++ b/src/view/screens/stacks/Profile.tsx @@ -1,4 +1,5 @@ import React, {useState, useEffect} from 'react' +import {View, StyleSheet} from 'react-native' import {Shell} from '../../shell' import type {RootTabsScreenProps} from '../../routes/types' import {FeedViewModel} from '../../../state/models/feed-view' @@ -44,13 +45,27 @@ export const Profile = ({ return ( - - {feedView && ( - - )} + + + + {feedView && ( + + )} + + ) } + +const styles = StyleSheet.create({ + container: { + flexDirection: 'column', + height: '100%', + }, + feed: { + flex: 1, + }, +}) diff --git a/todos.txt b/todos.txt index 70807cfe..d0c51e1a 100644 --- a/todos.txt +++ b/todos.txt @@ -3,6 +3,8 @@ Paul's todo list - Profile view - Follow / Unfollow - Badges + - Followers list + - Follows list - Composer - Check on navigation stack during a bunch of replies - Search view