diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-06-23 17:44:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-23 07:44:40 -0700 |
commit | c634cd9071305239f8c7d6acf371aca397f2bf2b (patch) | |
tree | 6df1efe8fc7d01b2bca9d325c4971a03534e361e /src/view/com/lightbox/Lightbox.web.tsx | |
parent | 3c92714e4e898ffabd714092f4d9c88eddf8429c (diff) | |
download | voidsky-c634cd9071305239f8c7d6acf371aca397f2bf2b.tar.zst |
Upgrade prettier to 3.6 (#8558)
* upgrade prettier * run prettier * more files
Diffstat (limited to 'src/view/com/lightbox/Lightbox.web.tsx')
-rw-r--r-- | src/view/com/lightbox/Lightbox.web.tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/view/com/lightbox/Lightbox.web.tsx b/src/view/com/lightbox/Lightbox.web.tsx index f6b6223ce..97811da7f 100644 --- a/src/view/com/lightbox/Lightbox.web.tsx +++ b/src/view/com/lightbox/Lightbox.web.tsx @@ -1,17 +1,17 @@ import React, {useCallback, useEffect, useState} from 'react' import { Image, - ImageStyle, + type ImageStyle, Pressable, StyleSheet, TouchableOpacity, TouchableWithoutFeedback, View, - ViewStyle, + type ViewStyle, } from 'react-native' import { FontAwesomeIcon, - FontAwesomeIconStyle, + type FontAwesomeIconStyle, } from '@fortawesome/react-native-fontawesome' import {msg} from '@lingui/macro' import {useLingui} from '@lingui/react' @@ -21,7 +21,7 @@ import {useWebMediaQueries} from '#/lib/hooks/useWebMediaQueries' import {colors, s} from '#/lib/styles' import {useLightbox, useLightboxControls} from '#/state/lightbox' import {Text} from '../util/text/Text' -import {ImageSource} from './ImageViewing/@types' +import {type ImageSource} from './ImageViewing/@types' import ImageDefaultHeader from './ImageViewing/components/ImageDefaultHeader' export function Lightbox() { @@ -121,8 +121,8 @@ function LightboxInner({ img.type === 'circle-avi' ? '50%' : img.type === 'rect-avi' - ? '10%' - : 0, + ? '10%' + : 0, } as ImageStyle } alt={img.alt} |