aboutsummaryrefslogtreecommitdiff
path: root/src/routes
diff options
context:
space:
mode:
authorIvan Chen <ivan@thetaggid.com>2020-11-05 22:13:49 -0500
committerGitHub <noreply@github.com>2020-11-05 22:13:49 -0500
commit96c46ac20f062aaf814f02184ce8c05ffc860a15 (patch)
tree436d9ae34d101f8543d3063b6371c1d44279be1b /src/routes
parent1f56aec4deb9001a889a9acbff3107f6c8d5837c (diff)
[TMA-344] Tabs bar margin, Social Taggs margin (#108)
* fixed margin for smaller screen * fixed header avatar * cleaned up code, improved logic * yarn lint * dynamically calculate avatar and header * changed back tint color and use 1% for tabs bar margin * last edit to avatar size Co-authored-by: Husam Salhab <47015061+hsalhab@users.noreply.github.com>
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/onboarding/OnboardingStack.tsx7
-rw-r--r--src/routes/profile/ProfileStack.tsx2
-rw-r--r--src/routes/tabs/NavigationBar.tsx2
3 files changed, 8 insertions, 3 deletions
diff --git a/src/routes/onboarding/OnboardingStack.tsx b/src/routes/onboarding/OnboardingStack.tsx
index 6bc1ed9d..d40e0728 100644
--- a/src/routes/onboarding/OnboardingStack.tsx
+++ b/src/routes/onboarding/OnboardingStack.tsx
@@ -6,7 +6,12 @@ export type OnboardingStackParams = {
InvitationCodeVerification: undefined;
RegistrationOne: undefined;
RegistrationTwo: {phone: string};
- RegistrationThree: {firstName: string; lastName: string; phone: string; email: string};
+ RegistrationThree: {
+ firstName: string;
+ lastName: string;
+ phone: string;
+ email: string;
+ };
Checkpoint: {username: string; userId: string};
Verification: {phone: string};
ProfileOnboarding: {username: string; userId: string};
diff --git a/src/routes/profile/ProfileStack.tsx b/src/routes/profile/ProfileStack.tsx
index d85f003e..b535d90d 100644
--- a/src/routes/profile/ProfileStack.tsx
+++ b/src/routes/profile/ProfileStack.tsx
@@ -27,7 +27,7 @@ export type ProfileStackParams = {
isProfileView: boolean;
};
FollowersListScreen: {
- isProfileView: boolean,
+ isProfileView: boolean;
isFollowers: boolean;
};
};
diff --git a/src/routes/tabs/NavigationBar.tsx b/src/routes/tabs/NavigationBar.tsx
index e0341c40..21a1f7d2 100644
--- a/src/routes/tabs/NavigationBar.tsx
+++ b/src/routes/tabs/NavigationBar.tsx
@@ -53,7 +53,7 @@ const NavigationBar: React.FC = () => {
borderTopWidth: 0,
left: 0,
right: 0,
- bottom: 0,
+ bottom: '1%',
},
}}>
<Tabs.Screen name="Home" component={Home} />