Squashed commit of the following:

commit 29c04db30ef8ada8879239d63f580c1829d6c7cd
Author: Zhiyuan Zheng <me@xmflsct.com>
Date:   Sun Feb 6 22:02:09 2022 +0100

    Patch 3.1.1

commit d3cd4c42ae1d6e01f78806ffaa8560ddbfadedfa
Author: Zhiyuan Zheng <me@xmflsct.com>
Date:   Sun Feb 6 18:58:27 2022 +0100

    Try to capture more info to debug
This commit is contained in:
Zhiyuan Zheng 2022-02-06 22:03:31 +01:00
parent 33be34fb97
commit 1d1e3ac9af
2 changed files with 4 additions and 4 deletions

View File

@ -3,8 +3,8 @@
"versions": {
"native": "220204",
"major": 3,
"minor": 3,
"patch": 0,
"minor": 1,
"patch": 1,
"expo": "44.0.0"
},
"description": "tooot app for Mastodon",

View File

@ -53,7 +53,7 @@ const TabSharedToot: React.FC<TabSharedStackScreenProps<'Tab-Shared-Toot'>> = ({
}, 500)
} catch (err) {
if (Math.random() < 0.1) {
Sentry.Native.setExtras({
Sentry.Native.setContext('Scroll to Index', {
type: 'original',
index: pointer,
itemsLength: flattenData.length,
@ -84,7 +84,7 @@ const TabSharedToot: React.FC<TabSharedStackScreenProps<'Tab-Shared-Toot'>> = ({
)
} catch (err) {
if (Math.random() < 0.1) {
Sentry.Native.setExtras({
Sentry.Native.setContext('Scroll to Index', {
type: 'onScrollToIndexFailed',
index: error.index,
itemsLength