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

Camelcase the Weather API key config for consistency

This commit is contained in:
Chris Cummer
2018-07-11 17:27:06 -07:00
73 changed files with 1578 additions and 571 deletions

View File

@@ -49,7 +49,7 @@ func NewWidget(app *tview.Application, pages *tview.Pages) *Widget {
if widget.APIKey == "" {
logger.Log("loading weather WTF_OWM_API_KEY key from config")
widget.APIKey = wtf.Config.UString(fmt.Sprintf("wtf.mods.%s.WTF_OWM_API_KEY", configKey), "")
widget.APIKey = wtf.Config.UString(fmt.Sprintf("wtf.mods.%s.apiKey", configKey), "")
}
widget.View.SetInputCapture(widget.keyboardIntercept)