Skip to content

Commit

Permalink
Merge pull request #31 from AreaLayer/main
Browse files Browse the repository at this point in the history
Fix
  • Loading branch information
22388o authored Mar 26, 2024
2 parents e2c463e + 637da46 commit 0b0d5c5
Show file tree
Hide file tree
Showing 28 changed files with 11,814 additions and 5,162 deletions.
34 changes: 12 additions & 22 deletions App.tsx
Original file line number Diff line number Diff line change
@@ -1,31 +1,21 @@
import React from 'react';
import {GluestackUIProvider} from '@gluestack-ui/themed';
import {config} from './src/theme/config';

import {NavigationContainer} from '@react-navigation/native';
import {NativeBaseProvider} from 'native-base';
import {StyleSheet, View} from 'react-native';
import {theme} from './src/theme';
import {Heading} from 'native-base';
import OnBoardingNavigation from './src/navigation/OnBoarding';
import {ConnectionProvider} from './src/providers/ConnectionProvider';

function App(): React.JSX.Element {
return (
<NavigationContainer>
<NativeBaseProvider theme={theme} isSSR={false}>
<View style={styles.container}>
<Heading fontFamily="body" color={'secondary.600'} fontSize={'2xl'}>
FireBolt Wallet
</Heading>
</View>
</NativeBaseProvider>
</NavigationContainer>
<GluestackUIProvider config={config}>
<ConnectionProvider>
<NavigationContainer>
<OnBoardingNavigation />
</NavigationContainer>
</ConnectionProvider>
</GluestackUIProvider>
);
}

const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#2596be',
justifyContent: 'center',
alignItems: 'center',
},
});

export default App;
12 changes: 8 additions & 4 deletions android/app/src/main/java/com/fireboltnew/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ import java.util.concurrent.locks.ReentrantLock
import javax.crypto.Cipher
import javax.crypto.spec.GCMParameterSpec
import javax.crypto.spec.SecretKeySpec
import javax.crypto.spec.CoinjoinSpec
import javax.crypto.spec.Bip39Spec


class MainActivity : ReactActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
Expand All @@ -31,7 +34,8 @@ class MainActivity : ReactActivity() {
DefaultReactActivityDelegate(this, mainComponentName, fabricEnabled)
}
override fun createBreezeactActivityDelegate():
mainComponentName, fabricEnabled) }
]
override fn createCoijoinReactActivityDeledate():
mainCompoenetName, fabriEnabled) }
(mainComponentName, fabricEnabled)
}
override fn createCoinjoinReactActivityDeledate():
(mainCompoenetName, fabriEnabled)
}
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module '*.jpg';
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @format
*/

import './shim';
import {AppRegistry} from 'react-native';
import App from './App';
import {name as appName} from './app.json';
Expand Down
Loading

0 comments on commit 0b0d5c5

Please sign in to comment.