Request Feature in About

Signed-off-by: FTCHD <144691102+FTCHD@users.noreply.github.com>
This commit is contained in:
FTCHD
2025-08-17 00:50:46 +02:00
parent 4e4cde08c4
commit 3712a2ba9e
+15 -14
View File
@@ -1211,22 +1211,23 @@ function AboutSection() {
fullWidth={true}
color="secondary"
onPress={async () => {
if (!info || !info.dirs.appLog) {
await message('No logs folder found', {
title: 'Error',
kind: 'warning',
okLabel: 'OK',
})
return
}
await writeText(last30Lines.join('\n'))
await message('Open the file in a text editor to copy the full log', {
title: 'Copied last 30 lines',
kind: 'info',
})
// if (!info || !info.dirs.appLog) {
// await message('No logs folder found', {
// title: 'Error',
// kind: 'warning',
// okLabel: 'OK',
// })
// return
// }
// await writeText(last30Lines.join('\n'))
// await message('Open the file in a text editor to copy the full log', {
// title: 'Copied last 30 lines',
// kind: 'info',
// })
await openUrl('https://github.com/rclone-ui/rclone-ui/issues/18')
}}
>
Copy Logs
Request Feature
</Button>
<Button
fullWidth={true}