file action button style tweak

This commit is contained in:
Akinwale Ariwodola 2018-08-27 08:44:50 +01:00
parent 9731bd8654
commit ccaff44b8c
2 changed files with 8 additions and 3 deletions

View file

@ -125,7 +125,10 @@ class FilePage extends React.PureComponent {
'Are you sure you want to remove this file from your device?',
[
{ text: 'No' },
{ text: 'Yes', onPress: () => { deleteFile(fileInfo.outpoint, true); } }
{ text: 'Yes', onPress: () => {
deleteFile(fileInfo.outpoint, true);
this.setState({ downloadPressed: false, mediaLoaded: false });
}}
],
{ cancelable: true }
);

View file

@ -146,11 +146,13 @@ const filePageStyle = StyleSheet.create({
paddingTop: 16,
paddingBottom: 8,
marginTop: -14,
width: '50%',
width: '100%',
},
actionButton: {
alignSelf: 'flex-start',
backgroundColor: Colors.White,
width: 160
paddingLeft: 24,
paddingRight: 24
},
loading: {
position: 'absolute',