change delete button to lond press only
This commit is contained in:
parent
13d995edd2
commit
112e4127c1
|
|
@ -244,6 +244,12 @@ const style = (theme:any) => {
|
|||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
},
|
||||
delete: {
|
||||
color: 'red',
|
||||
textAlign: 'center',
|
||||
marginTop: 10,
|
||||
},
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -457,8 +463,8 @@ function EditMovieModal({editMovie, setEdditMovie, update, theme, remove}:any){
|
|||
value={editMovie.notes}
|
||||
/>
|
||||
</View>
|
||||
<View style={{...st.row, width: '90%', marginLeft: 20, justifyContent: "flex-start"}}>
|
||||
<Button title="delete" onPress={()=>remove(editMovie.id)} theme={theme} style={{backgroundColor: theme.danger, paddingHorizontal: 25, margin: 0}}/>
|
||||
<View style={{...st.row, width: '90%', marginLeft: 20, justifyContent: "center"}}>
|
||||
<Text style={st.delete} onLongPress={()=>remove(editMovie.id)}>long press to delete</Text>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
|
|
|
|||
|
|
@ -266,6 +266,11 @@ const style = (theme:any) => {
|
|||
paddingHorizontal: 10,
|
||||
padding: 5,
|
||||
},
|
||||
delete: {
|
||||
color: 'red',
|
||||
textAlign: 'center',
|
||||
marginTop: 10,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -520,8 +525,8 @@ function EditshowModal({editOther, setEditOther, update, theme, remove, selCat}:
|
|||
value={editOther.notes}
|
||||
/>
|
||||
</View>
|
||||
<View style={{...st.row, width: '90%', marginLeft: 20, justifyContent: "flex-start"}}>
|
||||
<Button title="delete" onPress={()=>remove(editOther.id)} theme={theme} style={{backgroundColor: theme.danger, paddingHorizontal: 25, margin: 0,}}/>
|
||||
<View style={{...st.row, width: '90%', marginLeft: 20, justifyContent: "center"}}>
|
||||
<Text style={st.delete} onLongPress={()=>remove(editor.id)}>long press to delete</Text>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
|
|
|
|||
|
|
@ -265,6 +265,11 @@ const style = (theme:any) => {
|
|||
paddingHorizontal: 10,
|
||||
padding: 5,
|
||||
},
|
||||
delete: {
|
||||
color: 'red',
|
||||
textAlign: 'center',
|
||||
marginTop: 10,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -517,8 +522,8 @@ function EditshowModal({editShow, setEditShow, update, theme, remove}:any){
|
|||
value={editShow.notes}
|
||||
/>
|
||||
</View>
|
||||
<View style={{...st.row, width: '90%', marginLeft: 20, justifyContent: "flex-start"}}>
|
||||
<Button title="delete" onPress={()=>remove(editShow.id)} theme={theme} style={{backgroundColor: theme.danger, paddingHorizontal: 25, margin: 0,}}/>
|
||||
<View style={{...st.row, width: '90%', marginLeft: 20, justifyContent: "center"}}>
|
||||
<Text style={st.delete} onLongPress={()=>remove(editShow.id)}>long press to delete</Text>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
|
|
|
|||
Loading…
Reference in New Issue