From 80e035cedeb27ef9bf57f57f436bdeb923236ef7 Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Tue, 17 Jan 2023 20:47:43 -0600
Subject: Remove leftover code

---
 src/view/com/lightbox/Image.tsx | 24 ------------------------
 1 file changed, 24 deletions(-)
 delete mode 100644 src/view/com/lightbox/Image.tsx

(limited to 'src/view/com/lightbox/Image.tsx')

diff --git a/src/view/com/lightbox/Image.tsx b/src/view/com/lightbox/Image.tsx
deleted file mode 100644
index a620e949e..000000000
--- a/src/view/com/lightbox/Image.tsx
+++ /dev/null
@@ -1,24 +0,0 @@
-import React from 'react'
-import {Image, StyleSheet, useWindowDimensions, View} from 'react-native'
-
-export function Component({uri}: {uri: string}) {
-  const winDim = useWindowDimensions()
-  const top = winDim.height / 2 - (winDim.width - 40) / 2 - 100
-  return (
-    <View style={[styles.container, {top}]}>
-      <Image style={styles.image} source={{uri}} />
-    </View>
-  )
-}
-
-const styles = StyleSheet.create({
-  container: {
-    position: 'absolute',
-    left: 0,
-  },
-  image: {
-    resizeMode: 'contain',
-    width: '100%',
-    aspectRatio: 1,
-  },
-})
-- 
cgit 1.4.1

