Skip to content

The swiss army knife of lossless video/audio editing

improve error report

Mikael Finstad6126848e19ff
diff --git a/src/reporting.jsx b/src/reporting.jsx
index 872c366f..bf1f9e41 100644
--- a/src/reporting.jsx
+++ b/src/reporting.jsx
@@ -16,8 +16,8 @@ const ReactSwal = withReactContent(Swal);
// eslint-disable-next-line import/prefer-default-export
export function openSendReportDialog(err, state) {
const reportInstructions = isStoreBuild
- ? <p><Trans>Please send an email to <span style={{ fontWeight: 'bold' }} role="button" onClick={() => electron.shell.openExternal('mailto:[email protected]')}>[email protected]</span> where you describe what you were doing.</Trans></p>
- : <p><Trans>Please create an issue at <span style={{ fontWeight: 'bold' }} role="button" onClick={() => electron.shell.openExternal('https://github.com/mifi/lossless-cut/issues')}>https://github.com/mifi/lossless-cut/issues</span> where you describe what you were doing.</Trans></p>;
+ ? <p><Trans>Please send an email to <span style={{ fontWeight: 'bold', cursor: 'pointer' }} role="button" onClick={() => electron.shell.openExternal('mailto:[email protected]')}>[email protected]</span> where you describe what you were doing.</Trans></p>
+ : <p><Trans>Please create an issue at <span style={{ fontWeight: 'bold', cursor: 'pointer' }} role="button" onClick={() => electron.shell.openExternal('https://github.com/mifi/lossless-cut/issues')}>https://github.com/mifi/lossless-cut/issues</span> where you describe what you were doing.</Trans></p>;
const platform = os.platform();
const version = electron.remote.app.getVersion();
@@ -51,7 +51,7 @@ export function openSendReportDialog(err, state) {
<p><Trans>Include the following text:</Trans> <CopyClipboardButton text={text} /></p>
- <div style={{ fontWeight: 600, fontSize: 12, whiteSpace: 'pre-wrap' }} contentEditable suppressContentEditableWarning>
+ <div style={{ fontWeight: 600, fontSize: 12, whiteSpace: 'pre-wrap', color: '#900' }} contentEditable suppressContentEditableWarning>
{text}
</div>
</div>