mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-10-20 22:41:22 +02:00
fix: first browser download stuck at 0%
This commit is contained in:
1 parent
0789cf0bb9
commit
759263b63f
22 files changed
+291
-49
No files matched your search
@@ -28,6 +28,7 @@ import { Dialog, DialogContent, DialogTitle } from "@/components/ui/dialog";
|
||||
import { useBrowserSetup } from "@/hooks/use-browser-setup";
|
||||
import { useInputModality } from "@/hooks/use-input-modality";
|
||||
import { usePermissions } from "@/hooks/use-permissions";
|
||||
import { translateBackendError } from "@/lib/backend-errors";
|
||||
import { getBrowserDisplayName } from "@/lib/browser-utils";
|
||||
import { getCurrentOS } from "@/lib/platform";
|
||||
|
||||
@@ -460,6 +461,11 @@ export function WelcomeDialog({
|
||||
browser: browserName,
|
||||
})}
|
||||
</p>
|
||||
{setup.error?.detail && (
|
||||
<p className="max-w-[55ch] text-sm/6 text-pretty text-foreground">
|
||||
{translateBackendError(t, setup.error.detail)}
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* No escape hatch here: a browser must finish downloading
|
||||
|
||||
Reference in new issue
Block a user