We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97b28f6 commit c2dc773Copy full SHA for c2dc773
app/src/sub/SettingsWindow/about.tsx
@@ -16,7 +16,11 @@ export default function AboutTab() {
16
useEffect(() => {
17
(async () => {
18
if (logoClickCount >= 10) {
19
- const url = await Dialog.input("navigate", "此操作将放弃所有未保存的文件");
+ const url = await Dialog.input(
20
+ "navigate",
21
+ "此操作将放弃所有未保存的文件,使用此功能打开其他人给你的网址可能会导致感染计算机病毒!",
22
+ { destructive: true },
23
+ );
24
if (url && url.length > 5) {
25
window.location.href = url;
26
}
0 commit comments