{"size": 375, "ext": "js", "max_stars_repo_path": "src/components/Timer/model.js", "max_stars_repo_name": "cooperka/ImprovTilapia", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/Timer/model.js", "max_issues_repo_name": "cooperka/ImprovTilapia", "max_issues_repo_issues_event_min_datetime": "2020-09-04T17:38:00.000Z", "max_issues_repo_issues_event_max_datetime": "2020-09-04T17:38:00.000Z", "max_forks_repo_path": "src/components/Timer/model.js", "max_forks_repo_name": "cooperka/ImprovTilapia", "max_forks_repo_forks_event_min_datetime": "2021-03-01T01:41:27.000Z", "max_forks_repo_forks_event_max_datetime": "2021-03-01T01:41:27.000Z"}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": 1, "avg_line_length": 22.0588235294, "max_line_length": 60, "alphanum_fraction": 0.6986666667}
import { observable } from 'mobx';

import { initPersistedStore } from '../../storageUtils';

const STORAGE_KEY = 'TimerSettingsModel';

export class TimerSettingsModel {
  @observable
  shouldIncreaseBrightness = true;

  constructor() {
    initPersistedStore(this, STORAGE_KEY).catch((error) => {
      console.error('Failed to initPersistedStore:', error);
    });
  }
}
