Skip to content

Commit bdaae09

Browse files
cubicjclaude
andcommitted
fix: toggleBrewing shortcut now triggers extraction done in espresso
Espresso brewing has no start button — only the done button exists. The shortcut checked brewingStarted first, which is false for espresso, so it tried to find a nonexistent start button and did nothing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e950b5e commit bdaae09

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/views/BrewingView.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ export class BrewingView extends ItemView {
125125
if (step !== 'brewing') return;
126126
const panel = this.accordion.getStepPanel('brewing');
127127
if (!panel) return;
128-
if (this.brewingStarted) {
128+
const isEspresso = this.flowState.selection.method === 'espresso';
129+
if (isEspresso || this.brewingStarted) {
129130
const stopBtn = panel.querySelector('.brew-flow-stop-btn') as HTMLButtonElement | null;
130131
stopBtn?.click();
131132
} else {

0 commit comments

Comments
 (0)