Fix account setting cannot be opened

This commit is contained in:
Zhiyuan Zheng 2022-05-17 23:10:25 +02:00
parent a6135adb17
commit 94e9e023e3
3 changed files with 4 additions and 3 deletions

View File

@ -4,7 +4,7 @@
"native": "220508", "native": "220508",
"major": 4, "major": 4,
"minor": 0, "minor": 0,
"patch": 1, "patch": 2,
"expo": "45.0.0" "expo": "45.0.0"
}, },
"description": "tooot app for Mastodon", "description": "tooot app for Mastodon",

View File

@ -28,7 +28,8 @@ const Settings: React.FC = () => {
onPress={() => onPress={() =>
WebBrowser.openAuthSessionAsync( WebBrowser.openAuthSessionAsync(
`https://${url}/settings/preferences`, `https://${url}/settings/preferences`,
'' 'tooot://tooot',
{ dismissButtonStyle: 'done', readerMode: false }
) )
} }
/> />

View File

@ -6,7 +6,7 @@ const sentry = () => {
log('log', 'Sentry', 'initializing') log('log', 'Sentry', 'initializing')
Sentry.init({ Sentry.init({
dsn: 'https://53348b60ff844d52886e90251b3a5f41@o917354.ingest.sentry.io/6410576', dsn: 'https://53348b60ff844d52886e90251b3a5f41@o917354.ingest.sentry.io/6410576',
enableInExpoDevelopment: true, enableInExpoDevelopment: false,
debug: !isRelease debug: !isRelease
}) })
} }