mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Updates
This commit is contained in:
@ -17,7 +17,7 @@ const netInfo = async (): Promise<{
|
||||
|
||||
if (netInfo.isConnected) {
|
||||
log('log', 'netInfo', 'network connected')
|
||||
if (activeIndex) {
|
||||
if (activeIndex !== null) {
|
||||
log('log', 'netInfo', 'checking locally stored credentials')
|
||||
return client<Mastodon.Account>({
|
||||
method: 'get',
|
||||
|
@ -5,6 +5,7 @@ import log from './log'
|
||||
const sentry = () => {
|
||||
log('log', 'Sentry', 'initializing')
|
||||
Sentry.init({
|
||||
environment: Constants.manifest.extra.sentryEnv,
|
||||
dsn: Constants.manifest.extra.sentryDSN,
|
||||
enableInExpoDevelopment: false,
|
||||
debug: __DEV__
|
||||
|
Reference in New Issue
Block a user