1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Default new option to false, update documentation

This commit is contained in:
Bryan Austin 2018-08-01 12:10:29 -07:00 committed by Chris Cummer
parent f1bbd8564f
commit 090c4e716c
2 changed files with 4 additions and 1 deletions

View File

@ -122,3 +122,6 @@ Values: A positive integer, `0..n`.
Your <a href="https://developers.google.com/calendar/quickstart/go">Google client secret</a> JSON file. <br />
Values: A string representing a file path to the JSON secret file.
`showDeclined` <br />
Whether or not to display events you've declined to attend. <br />
Values: `true`, or `false`

View File

@ -44,7 +44,7 @@ func (widget *Widget) contentFrom(calEvents []*CalEvent) string {
var str string
var prevEvent *CalEvent
if !wtf.Config.UBool("wtf.mods.gcal.showDeclined", true) {
if !wtf.Config.UBool("wtf.mods.gcal.showDeclined", false) {
calEvents = removeDeclined(calEvents)
}