fix desktop setting toggle missing sequence card

This commit is contained in:
7w1 committed 2026-07-23 15:22:45 -05:00
1 parent 9a37d2e00a
commit 4a3f394459
2 files changed
+8 -1

No files matched your search

@@ -114,7 +114,7 @@ describe('Desktop', () => {
'Show a system tray icon while Sable is running. Disable this if you want Sable to stay available without a tray icon.'
)
).toBeInTheDocument();
expect(container.getElementsByClassName(SequenceCardStyle)).toHaveLength(3);
expect(container.getElementsByClassName(SequenceCardStyle)).toHaveLength(4);
});
it('updates the custom title bar setting from the Window switch', () => {
@@ -64,6 +64,13 @@ export function Desktop({ requestBack, requestClose }: DesktopProps) {
/>
}
/>
</SequenceCard>
<SequenceCard
className={SequenceCardStyle}
variant="SurfaceVariant"
direction="Column"
gap="400"
>
<SettingTile
title="Close button keeps Sable running"
focusId="close-to-background-on-close"