diff --git a/src/components/Timeline/Shared/Attachment/Image.tsx b/src/components/Timeline/Shared/Attachment/Image.tsx index 57f136b5..6d14663b 100644 --- a/src/components/Timeline/Shared/Attachment/Image.tsx +++ b/src/components/Timeline/Shared/Attachment/Image.tsx @@ -34,8 +34,8 @@ const AttachmentImage = React.memo( !image.meta?.original?.width || !image.meta?.original?.height ? attachmentAspectRatio({ total, index }) - : image.meta.original.height / image.meta.original.width > 2 - ? 0.5 + : image.meta.original.height / image.meta.original.width > 1 + ? 1 : image.meta.original.width / image.meta.original.height }} /> diff --git a/src/screens/Tabs/Shared/Toot.tsx b/src/screens/Tabs/Shared/Toot.tsx index 790b37d6..b659b9b2 100644 --- a/src/screens/Tabs/Shared/Toot.tsx +++ b/src/screens/Tabs/Shared/Toot.tsx @@ -60,7 +60,7 @@ const TabSharedToot: React.FC> = ({ }) }, 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> = ({ 500 ) } catch (err) { - if (Math.random() < 0.1) { + if (Math.random() < 0.05) { Sentry.Native.captureException(err) } }