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

Added push server error messaging

Also clean up <Message> component
This commit is contained in:
xmflsct
2022-12-05 23:15:07 +01:00
parent c4f825e087
commit 1f2e34e9da
24 changed files with 223 additions and 769 deletions

View File

@ -40,7 +40,7 @@ const ScreenImagesViewer = ({
const insets = useSafeAreaInsets()
const { mode, theme } = useTheme()
const { mode } = useTheme()
const { t } = useTranslation('screenImageViewer')
const initialIndex = imageUrls.findIndex(image => image.id === id)
@ -61,7 +61,7 @@ const ScreenImagesViewer = ({
async buttonIndex => {
switch (buttonIndex) {
case 0:
saveImage({ theme, image: imageUrls[currentIndex] })
saveImage({ image: imageUrls[currentIndex] })
break
case 1:
switch (Platform.OS) {
@ -188,7 +188,7 @@ const ScreenImagesViewer = ({
async buttonIndex => {
switch (buttonIndex) {
case 0:
saveImage({ theme, image: imageUrls[currentIndex] })
saveImage({ image: imageUrls[currentIndex] })
break
case 1:
switch (Platform.OS) {