1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Improve toot page loading

This commit is contained in:
xmflsct
2023-01-15 18:00:58 +01:00
parent 0efb7e5b70
commit 8814161e0e
3 changed files with 150 additions and 117 deletions

View File

@@ -35,7 +35,7 @@ const openLink = async (url: string, navigation?: any) => {
return
} else {
try {
response = await searchLocalStatus(url)
response = await searchLocalStatus(url, true)
} catch {}
if (response) {
handleNavigation('Tab-Shared-Toot', { toot: response })
@@ -64,7 +64,7 @@ const openLink = async (url: string, navigation?: any) => {
return
} else {
try {
response = await searchLocalAccount(url)
response = await searchLocalAccount(url, true)
} catch {}
if (response) {
handleNavigation('Tab-Shared-Account', { account: response })