add some icons and only store members by resource

This commit is contained in:
2026-03-12 16:09:22 +00:00
parent 7a201808e3
commit 654ab8b618
9 changed files with 52 additions and 15 deletions

View File

@@ -18,6 +18,9 @@ import (
// global or app-level map/cache
var textureCache = make(map[string]gdk.Paintabler)
// Invalid images, if an image/avatar cannot be loaded on the system (e.g: incompatible format) it's put here
var invalidImages = make(map[string]bool)
func ensureCache() (string, error) {
cachePath := configdir.LocalCache("lambda-im")
err := configdir.MakePath(cachePath) // Ensure it exists.