Skip to content

Commit

Permalink
Document show timer setting availability
Browse files Browse the repository at this point in the history
  • Loading branch information
stuarthayhurst committed Apr 28, 2024
1 parent 42e8962 commit 2702b8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions caffeine@patapon.info/preferences/displayPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ class CaffeineDisplayPage extends Adw.PreferencesPage {
// Bind signals
// --------------
showStatusIndicatorRow.connect('notify::selected', (widget) => {
// Grey out show timer setting if the indicator is set to never show
if (widget.selected === 2) {
showTimerRow.set_sensitive(false);
} else {
Expand Down

0 comments on commit 2702b8d

Please sign in to comment.