Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beasy-mobile
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
G
beasy-mobile
Commits
4c3504cb
Commit
4c3504cb
authored
May 24, 2024
by
G
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed a little bit of unused code and some logger
parent
64de0808
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
20 deletions
+5
-20
App.tsx
App.tsx
+5
-20
No files found.
App.tsx
View file @
4c3504cb
import
{
UserAuthenticationContextProvider
}
from
"@/contexts/UserAuthenticationContext"
;
import
UnloggedUserStackNavigation
from
"@/navigations/UnloggedUserStackNavigation
"
;
import
AppMainStackNavigator
from
"@/navigations/AppMainStackNavigator
"
;
import
theme
from
"@/themes/Theme"
;
import
ProvideQueryClient
from
"@components/providers_wrappers/ProvideQueryClient"
;
import
{
LOG
}
from
"@logger"
;
import
{
NavigationContainer
}
from
"@react-navigation/native"
;
import
{
ThemeProvider
}
from
"@shopify/restyle"
;
import
{
S
tyleSheet
}
from
"react-native
"
;
import
{
S
afeAreaProvider
}
from
"react-native-safe-area-context
"
;
const
log
=
LOG
.
extend
(
"App"
);
export
default
function
App
()
{
log
.
error
(
"App started..."
);
log
.
warn
(
"App started..."
);
log
.
info
(
"App started..."
);
log
.
http
(
"App started..."
);
log
.
debug
(
"App started..."
);
log
.
verbose
(
"App started..."
);
log
.
silly
(
"App started..."
);
return
(
<
ThemeProvider
theme=
{
theme
}
>
<
SafeAreaProvider
>
<
NavigationContainer
>
<
ProvideQueryClient
>
<
UserAuthenticationContextProvider
>
...
...
@@ -27,22 +22,12 @@ export default function App() {
<StatusBar style="auto" />
<UserLoginScreen />
</SafeAreaProvider> */
}
<
UnloggedUserStackNavigation
/>
<
AppMainStackNavigator
/>
{
/* </View> */
}
</
UserAuthenticationContextProvider
>
</
ProvideQueryClient
>
</
NavigationContainer
>
</
SafeAreaProvider
>
</
ThemeProvider
>
);
}
const
styles
=
StyleSheet
.
create
({
container
:
{
flex
:
1
,
backgroundColor
:
"#fff"
,
alignItems
:
"center"
,
justifyContent
:
"center"
,
},
});
const
NavigatonRenderer
=
()
=>
{};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment