Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Commit

Permalink
refactor: enable broadcasts by default
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbruford committed Aug 5, 2018
1 parent 55e9c64 commit 14476ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/dashboard/settings/settings.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { shell } from "electron";

settingPromises.push(this.settingsService.getSetting<{ key: string, value: any }>(AppSetting.broadcasts)
.then(setting => {
this.broadcasts = setting ? setting.value : false;
this.broadcasts = setting !== undefined ? setting.value : true;
})
.catch(err => {
console.log(err);
Expand Down

0 comments on commit 14476ea

Please sign in to comment.