From e1ae6bbbb651ba57a94c5772ad3324b72d6a2578 Mon Sep 17 00:00:00 2001 From: Christopher David Date: Tue, 28 Feb 2023 11:36:36 -0600 Subject: [PATCH] Restyle Nostrum components via Tamagui; prepare v0.0.3 (#47) * Harmonize nostrum styles to tamagui * Skip past firstload on android * bump android build number --- app.json | 4 ++-- src/navigation/AuthedNavigator.tsx | 2 +- src/views/connect/components/Layout.tsx | 2 +- src/views/connect/nostrum/ConnectList.tsx | 21 ++++----------------- 4 files changed, 8 insertions(+), 21 deletions(-) diff --git a/app.json b/app.json index ed61adc3..b3eb2b1d 100644 --- a/app.json +++ b/app.json @@ -17,7 +17,7 @@ "ios": { "supportsTablet": true, "bundleIdentifier": "arcade.labs.arc", - "buildNumber": "1", + "buildNumber": "2", "config": { "usesNonExemptEncryption": false } @@ -27,7 +27,7 @@ "foregroundImage": "./src/assets/icons/adaptive-icon.png", "backgroundColor": "#000000" }, - "versionCode": 9 + "versionCode": 11 }, "extra": { "eas": { diff --git a/src/navigation/AuthedNavigator.tsx b/src/navigation/AuthedNavigator.tsx index fca42990..3797dce6 100644 --- a/src/navigation/AuthedNavigator.tsx +++ b/src/navigation/AuthedNavigator.tsx @@ -22,7 +22,7 @@ export function AuthedNavigator() { useRelayPool({ connectNow: true }) return ( ( diff --git a/src/views/connect/components/Layout.tsx b/src/views/connect/components/Layout.tsx index d8145a8b..955805ef 100644 --- a/src/views/connect/components/Layout.tsx +++ b/src/views/connect/components/Layout.tsx @@ -9,7 +9,7 @@ export function Layout({ children }: { children: React.ReactNode }) { const styles = StyleSheet.create({ center: { flex: 1, - backgroundColor: darkBlue, + backgroundColor: 'transparent', paddingTop: 32, }, }) diff --git a/src/views/connect/nostrum/ConnectList.tsx b/src/views/connect/nostrum/ConnectList.tsx index 22d5e105..8ce247b9 100644 --- a/src/views/connect/nostrum/ConnectList.tsx +++ b/src/views/connect/nostrum/ConnectList.tsx @@ -101,8 +101,6 @@ export default function ConnectList({ navigation }: { navigation: any }) { const store = useStore.getState() as UseStore const key = store.user.privateKey - console.log('We have key?', key) - if (!key) return // set the pub key @@ -345,17 +343,6 @@ export default function ConnectList({ navigation }: { navigation: any }) { Connected Apps - - - 🔑 - - {apps === null || apps.length === 0 ? ( <> @@ -607,13 +594,13 @@ const styles = StyleSheet.create({ }, title: { fontSize: 24, - // fontFamily: 'SoraBold', - marginVertical: 24, + fontFamily: 'InterBold', + marginBottom: 24, color: '#fff', }, text: { fontSize: 16, - // fontFamily: 'SoraRegular', + fontFamily: 'Inter', marginBottom: 8, color: '#fff', textAlign: 'center', @@ -627,7 +614,7 @@ const styles = StyleSheet.create({ alignItems: 'center', justifyContent: 'center', padding: 16, - backgroundColor: darkBlue, + backgroundColor: 'transparent', borderTopLeftRadius: 8, borderTopRightRadius: 8, borderBottomLeftRadius: 8,