diff --git a/package.json b/package.json index 96fc1cb6..bc2835fd 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "native": "220603", "major": 4, "minor": 1, - "patch": 2, + "patch": 3, "expo": "45.0.0" }, "description": "tooot app for Mastodon", diff --git a/src/components/GracefullyImage.tsx b/src/components/GracefullyImage.tsx index 5fa68666..01db6c04 100644 --- a/src/components/GracefullyImage.tsx +++ b/src/components/GracefullyImage.tsx @@ -5,12 +5,14 @@ import { AccessibilityProps, Image, ImageStyle, + Platform, Pressable, StyleProp, StyleSheet, View, ViewStyle } from 'react-native' +import FastImage from 'react-native-fast-image' import { Blurhash } from 'react-native-blurhash' // blurhas -> if blurhash, show before any loading succeed @@ -125,13 +127,24 @@ const GracefullyImage = ({ ]} /> ) : null} - + {Platform.OS === 'ios' ? ( + + ) : ( + + )} {blurhashView} ) diff --git a/src/screens/Tabs/Shared/Account/Header.tsx b/src/screens/Tabs/Shared/Account/Header.tsx index 419f84a8..6b33bf73 100644 --- a/src/screens/Tabs/Shared/Account/Header.tsx +++ b/src/screens/Tabs/Shared/Account/Header.tsx @@ -2,7 +2,8 @@ import Button from '@components/Button' import { useAccessibility } from '@utils/accessibility/AccessibilityManager' import { useTheme } from '@utils/styles/ThemeManager' import React from 'react' -import { Dimensions, Image, View } from 'react-native' +import { Dimensions, View } from 'react-native' +import FastImage from 'react-native-fast-image' import { useSafeAreaInsets } from 'react-native-safe-area-context' export interface Props { @@ -18,7 +19,7 @@ const AccountHeader = React.memo( return ( -