report content button
This commit is contained in:
parent
46b99e769f
commit
b135ca36a3
2 changed files with 10 additions and 0 deletions
|
@ -6,6 +6,7 @@ import {
|
||||||
Alert,
|
Alert,
|
||||||
DeviceEventEmitter,
|
DeviceEventEmitter,
|
||||||
Dimensions,
|
Dimensions,
|
||||||
|
Linking,
|
||||||
NativeModules,
|
NativeModules,
|
||||||
ScrollView,
|
ScrollView,
|
||||||
StatusBar,
|
StatusBar,
|
||||||
|
@ -968,6 +969,12 @@ class FilePage extends React.PureComponent {
|
||||||
onPress={this.onSaveFilePressed}
|
onPress={this.onSaveFilePressed}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
<Button
|
||||||
|
style={[filePageStyle.actionButton, filePageStyle.reportButton]}
|
||||||
|
theme={'light'}
|
||||||
|
icon={'flag'}
|
||||||
|
onPress={() => Linking.openURL(`https://lbry.com/dmca?claim_id=${claim.claim_id}`)}
|
||||||
|
/>
|
||||||
<Button
|
<Button
|
||||||
style={[filePageStyle.actionButton, filePageStyle.tipButton]}
|
style={[filePageStyle.actionButton, filePageStyle.tipButton]}
|
||||||
theme={'light'}
|
theme={'light'}
|
||||||
|
|
|
@ -322,6 +322,9 @@ const filePageStyle = StyleSheet.create({
|
||||||
saveFileButton: {
|
saveFileButton: {
|
||||||
marginRight: 8,
|
marginRight: 8,
|
||||||
},
|
},
|
||||||
|
reportButton: {
|
||||||
|
marginRight: 8,
|
||||||
|
},
|
||||||
tagContainer: {
|
tagContainer: {
|
||||||
marginLeft: 12,
|
marginLeft: 12,
|
||||||
marginRight: 12,
|
marginRight: 12,
|
||||||
|
|
Loading…
Reference in a new issue