Skip to content

Commit

Permalink
Restyle Nostrum components via Tamagui; prepare v0.0.3 (#47)
Browse files Browse the repository at this point in the history
* Harmonize nostrum styles to tamagui

* Skip past firstload on android

* bump android build number
  • Loading branch information
AtlantisPleb authored Feb 28, 2023
1 parent 6daef1a commit e1ae6bb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 21 deletions.
4 changes: 2 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"ios": {
"supportsTablet": true,
"bundleIdentifier": "arcade.labs.arc",
"buildNumber": "1",
"buildNumber": "2",
"config": {
"usesNonExemptEncryption": false
}
Expand All @@ -27,7 +27,7 @@
"foregroundImage": "./src/assets/icons/adaptive-icon.png",
"backgroundColor": "#000000"
},
"versionCode": 9
"versionCode": 11
},
"extra": {
"eas": {
Expand Down
2 changes: 1 addition & 1 deletion src/navigation/AuthedNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function AuthedNavigator() {
useRelayPool({ connectNow: true })
return (
<Stack.Navigator
initialRouteName="firstload"
initialRouteName="tabs"
screenOptions={{
header: ({ options }) => (
<NavHeader options={options} title={options.title} />
Expand Down
2 changes: 1 addition & 1 deletion src/views/connect/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function Layout({ children }: { children: React.ReactNode }) {
const styles = StyleSheet.create({
center: {
flex: 1,
backgroundColor: darkBlue,
backgroundColor: 'transparent',
paddingTop: 32,
},
})
21 changes: 4 additions & 17 deletions src/views/connect/nostrum/ConnectList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -345,17 +343,6 @@ export default function ConnectList({ navigation }: { navigation: any }) {
<View style={{ justifyContent: 'center' }}>
<Text style={styles.title}>Connected Apps</Text>
</View>
<View
style={{
marginLeft: 'auto',
alignItems: 'center',
justifyContent: 'center',
}}
>
<TouchableOpacity onPress={keyInfoPress} style={styles.button}>
<Text style={{ fontSize: 32 }}>🔑</Text>
</TouchableOpacity>
</View>
</View>
{apps === null || apps.length === 0 ? (
<>
Expand Down Expand Up @@ -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',
Expand All @@ -627,7 +614,7 @@ const styles = StyleSheet.create({
alignItems: 'center',
justifyContent: 'center',
padding: 16,
backgroundColor: darkBlue,
backgroundColor: 'transparent',
borderTopLeftRadius: 8,
borderTopRightRadius: 8,
borderBottomLeftRadius: 8,
Expand Down

0 comments on commit e1ae6bb

Please sign in to comment.