fix: hide desktop local backup entry

This commit is contained in:
tianma-if committed 2026-07-30 10:10:29 +08:00
1 parent f6f22c0817
commit 8e36fedcbf
1 file changed
-3
-3
View File
@@ -26,10 +26,8 @@ import { PreferenceCard } from "./settings/PreferenceCard";
import { PasswordCard } from "./settings/PasswordCard";
import { SessionCard } from "./settings/SessionCard";
import { UserManagementCard } from "./settings/UserManagementCard";
import { DesktopLocalBackupCard } from "./settings/DesktopLocalBackupCard";
import { ThemeToggle } from "./ThemeToggle";
import type { AuthUser } from "@edgeever/shared";
import { isNativeDesktopRuntime } from "@/lib/runtime";
interface SettingsPaneProps {
onClose: () => void;
@@ -198,7 +196,6 @@ export const SettingsPane = ({
return (
<SettingsGroup>
<DataExportCard />
{isNativeDesktopRuntime() ? <DesktopLocalBackupCard /> : null}
<EvernoteImportGuideCard />
</SettingsGroup>
);