mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-07-25 13:50:51 +02:00
chore: remove prettier to not conflict with biome
This commit is contained in:
@@ -137,7 +137,7 @@ export function showLoadingToast(
|
||||
id?: string;
|
||||
description?: string;
|
||||
duration?: number;
|
||||
}
|
||||
},
|
||||
) {
|
||||
return showToast({
|
||||
type: "loading",
|
||||
@@ -151,7 +151,7 @@ export function showDownloadToast(
|
||||
version: string,
|
||||
stage: "downloading" | "extracting" | "verifying" | "completed",
|
||||
progress?: { percentage: number; speed?: string; eta?: string },
|
||||
options?: { suppressCompletionToast?: boolean }
|
||||
options?: { suppressCompletionToast?: boolean },
|
||||
) {
|
||||
const title =
|
||||
stage === "completed"
|
||||
@@ -188,7 +188,7 @@ export function showVersionUpdateToast(
|
||||
found: number;
|
||||
};
|
||||
duration?: number;
|
||||
}
|
||||
},
|
||||
) {
|
||||
return showToast({
|
||||
type: "version-update",
|
||||
@@ -203,7 +203,7 @@ export function showFetchingToast(
|
||||
id?: string;
|
||||
description?: string;
|
||||
duration?: number;
|
||||
}
|
||||
},
|
||||
) {
|
||||
return showToast({
|
||||
type: "fetching",
|
||||
@@ -221,7 +221,7 @@ export function showSuccessToast(
|
||||
id?: string;
|
||||
description?: string;
|
||||
duration?: number;
|
||||
}
|
||||
},
|
||||
) {
|
||||
return showToast({
|
||||
type: "success",
|
||||
@@ -236,7 +236,7 @@ export function showErrorToast(
|
||||
id?: string;
|
||||
description?: string;
|
||||
duration?: number;
|
||||
}
|
||||
},
|
||||
) {
|
||||
return showToast({
|
||||
type: "error",
|
||||
|
||||
Reference in New Issue
Block a user