Tweak positioning
This commit is contained in:
parent
eda4dee3ab
commit
f67812d09a
1 changed files with 3 additions and 1 deletions
|
@ -283,7 +283,8 @@ const styles = StyleSheet.create({
|
|||
pointerEvents: 'none',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
position: 'absolute',
|
||||
// @ts-ignore web only -prf
|
||||
position: 'fixed',
|
||||
padding: 16,
|
||||
top: 0,
|
||||
bottom: 0,
|
||||
|
@ -315,6 +316,7 @@ function getImageFromUri(
|
|||
const type = item.type
|
||||
|
||||
if (type === 'text/plain') {
|
||||
console.log('hit')
|
||||
item.getAsString(async itemString => {
|
||||
if (isUriImage(itemString)) {
|
||||
const response = await fetch(itemString)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue