Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/Livewire/TimerScreen.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function loadProgram(string $id): void
$this->syncCursor($runner->cursor(), $program);

$this->dispatch('topbar-title', title: $program->name);
$this->dispatch('settingsLoaded', soundMode: $this->soundMode, volume: $this->volume, program: $program);
$this->dispatch('settingsLoaded', soundMode: $this->soundMode, volume: $this->volume, keepScreenOn: $this->keepScreenOn, program: $program);
}

public function discard(): void
Expand Down Expand Up @@ -166,7 +166,7 @@ public function tick(): void
public function requestSettings(): void
{
$program = $this->programId ? Program::with('phases')->find($this->programId) : null;
$this->dispatch('settingsLoaded', soundMode: $this->soundMode, volume: $this->volume, program: $program);
$this->dispatch('settingsLoaded', soundMode: $this->soundMode, volume: $this->volume, keepScreenOn: $this->keepScreenOn, program: $program);
}

public function render(): View
Expand Down
Loading