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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user