Skip to content

Commit

Permalink
Make "Media blocks idle detection" visible to users
Browse files Browse the repository at this point in the history
  • Loading branch information
xanderfrangos committed Oct 8, 2024
1 parent d66c39f commit 10ab082
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SettingsWindow.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1185,6 +1185,7 @@ export default class SettingsWindow extends PureComponent {
} />
</SettingsOption>
<SettingsOption title={T.t("SETTINGS_TIME_IDLE_FS_TITLE")} description={T.t("SETTINGS_TIME_IDLE_FS_DESC")} input={this.renderToggle("detectIdleCheckFullscreen")} />
<SettingsOption title={T.t("SETTINGS_TIME_IDLE_MEDIA_TITLE")} description={T.t("SETTINGS_TIME_IDLE_MEDIA_DESC")} input={this.renderToggle("detectIdleMedia")} />
</div>
</SettingsPage>

Expand Down Expand Up @@ -1434,7 +1435,6 @@ export default class SettingsWindow extends PureComponent {
<SettingsOption title="Enable HDR support" input={this.renderToggle("enableHDR")} />
<SettingsOption title="Show console window (requires restart)" input={this.renderToggle("showConsole")} />
<SettingsOption title="Use Taskbar Registry" input={this.renderToggle("useTaskbarRegistry")} />
<SettingsOption title="Prevent idle detection while media is playing" input={this.renderToggle("detectIdleMedia")} />
<SettingsOption title="Disable Mouse Events (requires restart)" input={this.renderToggle("disableMouseEvents")} />

</div>
Expand Down
2 changes: 2 additions & 0 deletions src/localization/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@
"SETTINGS_TIME_SUN_GET": "Get coordinates",
"SETTINGS_TIME_IDLE_FS_TITLE": "Fullscreen apps are never idle",
"SETTINGS_TIME_IDLE_FS_DESC": "Fullscreen apps block idle detection. This only applies to the focused window.",
"SETTINGS_TIME_IDLE_MEDIA_TITLE": "Media blocks idle detection",
"SETTINGS_TIME_IDLE_MEDIA_DESC": "Idle detection will be disabled while any media is playing. This includes both video and audio. This only applies when Windows reports that media is playing.",
"SETTINGS_HOTKEYS_TITLE": "Hotkeys",
"SETTINGS_HOTKEYS_DESC": "Configure hotkeys to adjust the brightness of one or all displays.",
"SETTINGS_HOTKEYS_ADD": "Add Hotkey",
Expand Down

0 comments on commit 10ab082

Please sign in to comment.