Remove image view from SetForm

1. This doesn't easily fit on the screen with the keyboard open
2. It wasn't editable, while being on an edit screen, so it was
   misleading.
This commit is contained in:
Brandon Presley 2022-08-29 15:19:07 +12:00
parent 5578318ead
commit 27a1f3132f
1 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,5 @@
import React, {useContext, useEffect, useRef, useState} from 'react';
import {Image, ScrollView, Text} from 'react-native';
import {ScrollView, Text} from 'react-native';
import {Button} from 'react-native-paper';
import {DatabaseContext} from './App';
import MassiveInput from './MassiveInput';
@ -103,7 +103,6 @@ export default function SetForm({
</React.Fragment>
))}
</Text>
{uri && <Image source={{uri}} style={{width: 250, height: 250}} />}
</ScrollView>
<Button
disabled={!name}