some qol stuff
This commit is contained in:
@@ -143,6 +143,9 @@ var jabberBytes []byte
|
||||
//go:embed assets/fail.png
|
||||
var failBytes []byte
|
||||
|
||||
//go:embed assets/please_wait.gif
|
||||
var pleaseWaitBytes []byte
|
||||
|
||||
func loadAsset(key string, data []byte) {
|
||||
loader := gdkpixbuf.NewPixbufLoader()
|
||||
loader.Write(data)
|
||||
@@ -197,6 +200,7 @@ func init() {
|
||||
"moderate": moderateBytes,
|
||||
"jabber": jabberBytes,
|
||||
"fail": failBytes,
|
||||
"please_wait": pleaseWaitBytes,
|
||||
} {
|
||||
loadAsset(key, data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user