Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 8e2f683

Browse files
committed
Added download the logs
Close #32
1 parent fef3a68 commit 8e2f683

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/screens/SingleServer.jsx

+12
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,18 @@ const SingleServer = ({ route, navigation }) => {
614614
/>
615615
</View>
616616
</ListItem.Content>
617+
618+
<ListItem.Content>
619+
<View style={ [style.updateAllView] }>
620+
<Button
621+
title='Download the logs'
622+
color='#e5a00d'
623+
onPress={() => {
624+
Linking.openURL(`${server.protocol}://${server.ip}:${server.port}/diagnostics/logs/?X-Plex-Token=${server.token}`);
625+
}}
626+
/>
627+
</View>
628+
</ListItem.Content>
617629
</ListItem>
618630
</ListItem.Accordion>
619631
</>

0 commit comments

Comments
 (0)