Chore: Polish proof history to prep for release (#566)

* clean up nav and home boundaries, passport data screen insets

* migrate proof history screen out of settings

* minor clean up

* save wip

* add new ibm plex mono font and clean up proof detail screen

* remove test data

* remove extra loading screen text

* remove unnecessary ceil
This commit is contained in:
Justin Hernandez
2025-05-20 12:54:18 -05:00
committed by GitHub
parent b6da665a11
commit 6c5ff79c66
13 changed files with 197 additions and 138 deletions

View File

@@ -4,6 +4,7 @@ import { useSafeAreaInsets } from 'react-native-safe-area-context';
import { TextStyle, ViewStyle } from 'tamagui';
import { white } from '../../utils/colors';
import { extraYPadding } from '../../utils/constants';
import { buttonTap } from '../../utils/haptic';
import { NavBar } from './BaseNavBar';
@@ -16,7 +17,7 @@ export const DefaultNavBar = (props: NativeStackHeaderProps) => {
<NavBar.Container
gap={14}
paddingHorizontal={20}
paddingTop={Math.max(insets.top, 12)}
paddingTop={Math.max(insets.top, 15) + extraYPadding}
paddingBottom={20}
backgroundColor={headerStyle.backgroundColor as string}
barStyle={

View File

@@ -6,6 +6,7 @@ import { Button } from 'tamagui';
import ActivityIcon from '../../images/icons/activity.svg';
import SettingsIcon from '../../images/icons/settings.svg';
import { black, neutral400, white } from '../../utils/colors';
import { extraYPadding } from '../../utils/constants';
import { buttonTap } from '../../utils/haptic';
import { NavBar } from './BaseNavBar';
@@ -17,12 +18,12 @@ export const HomeNavBar = (props: NativeStackHeaderProps) => {
barStyle={'light-content'}
padding={16}
justifyContent="space-between"
paddingTop={Math.max(insets.top, 20)}
paddingTop={Math.max(insets.top, 15) + extraYPadding}
>
<NavBar.LeftAction
component={
<Button
size="$3"
size={'$3'}
unstyled
icon={
<ActivityIcon width={'24'} height={'100%'} color={neutral400} />
@@ -32,11 +33,7 @@ export const HomeNavBar = (props: NativeStackHeaderProps) => {
// disable icon click for now
onPress={() => {
buttonTap();
// props.navigation.navigate('Activity');
return false;
}}
style={{
opacity: 0,
props.navigation.navigate('ProofHistory');
}}
/>
<NavBar.Title size="large" color={white}>