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:
parent
f1bbd8564f
commit
090c4e716c
@ -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 />
|
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.
|
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`
|
||||||
|
@ -44,7 +44,7 @@ func (widget *Widget) contentFrom(calEvents []*CalEvent) string {
|
|||||||
var str string
|
var str string
|
||||||
var prevEvent *CalEvent
|
var prevEvent *CalEvent
|
||||||
|
|
||||||
if !wtf.Config.UBool("wtf.mods.gcal.showDeclined", true) {
|
if !wtf.Config.UBool("wtf.mods.gcal.showDeclined", false) {
|
||||||
calEvents = removeDeclined(calEvents)
|
calEvents = removeDeclined(calEvents)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user