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:
parent
5578318ead
commit
27a1f3132f
|
@ -1,5 +1,5 @@
|
||||||
import React, {useContext, useEffect, useRef, useState} from 'react';
|
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 {Button} from 'react-native-paper';
|
||||||
import {DatabaseContext} from './App';
|
import {DatabaseContext} from './App';
|
||||||
import MassiveInput from './MassiveInput';
|
import MassiveInput from './MassiveInput';
|
||||||
|
@ -103,7 +103,6 @@ export default function SetForm({
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
))}
|
))}
|
||||||
</Text>
|
</Text>
|
||||||
{uri && <Image source={{uri}} style={{width: 250, height: 250}} />}
|
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
<Button
|
<Button
|
||||||
disabled={!name}
|
disabled={!name}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user