diff --git a/public/img/loading.png b/public/img/loading.png deleted file mode 100644 index 763d1cf674..0000000000 Binary files a/public/img/loading.png and /dev/null differ diff --git a/src/view/com/util/images/Image.tsx b/src/view/com/util/images/Image.tsx index fc786acc8e..f6b1b26f06 100644 --- a/src/view/com/util/images/Image.tsx +++ b/src/view/com/util/images/Image.tsx @@ -2,7 +2,6 @@ import React from 'react' import {StyleProp, StyleSheet, TouchableOpacity, ViewStyle} from 'react-native' import FastImage, {OnLoadEvent} from 'react-native-fast-image' import {DELAY_PRESS_IN} from './constants' -import {LOADING} from '../../../lib/assets' import {clamp} from '../../../../lib/numbers' const MIN_ASPECT_RATIO = 0.33 // 1/3 @@ -43,7 +42,6 @@ export function Image({ {children} diff --git a/src/view/com/util/images/ImageLayoutGrid.tsx b/src/view/com/util/images/ImageLayoutGrid.tsx index 5271913538..7f73bc04db 100644 --- a/src/view/com/util/images/ImageLayoutGrid.tsx +++ b/src/view/com/util/images/ImageLayoutGrid.tsx @@ -8,7 +8,6 @@ import { ViewStyle, } from 'react-native' import FastImage, {ImageStyle as FastImageStyle} from 'react-native-fast-image' -import {LOADING} from '../../../lib/assets' import {DELAY_PRESS_IN} from './constants' interface Dim { @@ -100,11 +99,7 @@ function ImageLayoutGridInner({ onPress={() => onPress?.(0)} onPressIn={() => onPressIn?.(0)} onLongPress={() => onLongPress(0)}> - + onPress?.(1)} onPressIn={() => onPressIn?.(1)} onLongPress={() => onLongPress(1)}> - + ) @@ -129,11 +120,7 @@ function ImageLayoutGridInner({ onPress={() => onPress?.(0)} onPressIn={() => onPressIn?.(0)} onLongPress={() => onLongPress(0)}> - + @@ -142,11 +129,7 @@ function ImageLayoutGridInner({ onPress={() => onPress?.(1)} onPressIn={() => onPressIn?.(1)} onLongPress={() => onLongPress(1)}> - + onPress?.(2)} onPressIn={() => onPressIn?.(2)} onLongPress={() => onLongPress(2)}> - + @@ -173,11 +152,7 @@ function ImageLayoutGridInner({ onPress={() => onPress?.(0)} onPressIn={() => onPressIn?.(0)} onLongPress={() => onLongPress(0)}> - + onPress?.(2)} onPressIn={() => onPressIn?.(2)} onLongPress={() => onLongPress(2)}> - + @@ -199,11 +170,7 @@ function ImageLayoutGridInner({ onPress={() => onPress?.(1)} onPressIn={() => onPressIn?.(1)} onLongPress={() => onLongPress(1)}> - + onPress?.(3)} onPressIn={() => onPressIn?.(3)} onLongPress={() => onLongPress(3)}> - + diff --git a/src/view/lib/assets.native.ts b/src/view/lib/assets.native.ts index 4414273240..2f4f0178ca 100644 --- a/src/view/lib/assets.native.ts +++ b/src/view/lib/assets.native.ts @@ -3,4 +3,3 @@ import {ImageRequireSource} from 'react-native' export const DEF_AVATAR: ImageRequireSource = require('../../../public/img/default-avatar.jpg') export const TABS_EXPLAINER: ImageRequireSource = require('../../../public/img/tabs-explainer.jpg') export const CLOUD_SPLASH: ImageRequireSource = require('../../../public/img/cloud-splash.png') -export const LOADING: ImageRequireSource = require('../../../public/img/loading.png') diff --git a/src/view/lib/assets.ts b/src/view/lib/assets.ts index ba7e7d93b8..216478762d 100644 --- a/src/view/lib/assets.ts +++ b/src/view/lib/assets.ts @@ -8,5 +8,3 @@ export const TABS_EXPLAINER: ImageRequireSource = { } // @ts-ignore we need to pretend -prf export const CLOUD_SPLASH: ImageRequireSource = {uri: '/img/cloud-splash.png'} -// @ts-ignore we need to pretend -prf -export const LOADING: ImageRequireSource = {uri: '/img/loading.png'}