react-os-shell 0.2.39 → 0.2.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -861,7 +861,7 @@ function StatusBadge({ status }) {
861
861
  }
862
862
 
863
863
  // src/version.ts
864
- var VERSION = "0.2.39" ;
864
+ var VERSION = "0.2.40" ;
865
865
  var APP_VERSION = VERSION;
866
866
 
867
867
  // src/changelog.ts
@@ -900,10 +900,11 @@ async function reportBug(submit) {
900
900
  const screenshot = await captureViewport();
901
901
  const submission = await openBugReportDialog(screenshot);
902
902
  if (submission === null) return;
903
+ const finalScreenshot = submission.screenshot ?? screenshot;
903
904
  try {
904
905
  await submit({
905
906
  description: submission.description || void 0,
906
- screenshot: screenshot ?? void 0,
907
+ screenshot: finalScreenshot ?? void 0,
907
908
  url: window.location.href,
908
909
  userAgent: navigator.userAgent,
909
910
  viewport: `${window.innerWidth}x${window.innerHeight}`,