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

Square image when image is too long

This commit is contained in:
Zhiyuan Zheng
2022-02-14 21:07:10 +01:00
parent ca4594328f
commit e388ce7626
2 changed files with 4 additions and 4 deletions

View File

@ -60,7 +60,7 @@ const TabSharedToot: React.FC<TabSharedStackScreenProps<'Tab-Shared-Toot'>> = ({
})
}, 500)
} catch (err) {
if (Math.random() < 0.1) {
if (Math.random() < 0.05) {
Sentry.Native.captureException(err)
}
}
@ -91,7 +91,7 @@ const TabSharedToot: React.FC<TabSharedStackScreenProps<'Tab-Shared-Toot'>> = ({
500
)
} catch (err) {
if (Math.random() < 0.1) {
if (Math.random() < 0.05) {
Sentry.Native.captureException(err)
}
}