consolidated UI setup into a single function call from main
This commit is contained in:
+2
-2
@@ -156,8 +156,8 @@ func init() {
|
||||
}
|
||||
}
|
||||
|
||||
// SetupMenuCache sets up the menu cache.
|
||||
func SetupMenuCache() {
|
||||
// setupMenuCache sets up the menu cache.
|
||||
func setupMenuCache() {
|
||||
var err error
|
||||
if menuCache, err = lru.New(config.GlobalConfig.Tuning.Caches.Menus); err != nil {
|
||||
panic(err)
|
||||
|
||||
Reference in New Issue
Block a user