1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-26 14:32:52 -05:00

matugen: fix adw-gtk3 setting in light mode

- and add models.Get/GetOr helpers
This commit is contained in:
bbedward
2026-01-01 23:13:12 -05:00
parent 5e111d89a5
commit c1d57946d9
23 changed files with 162 additions and 132 deletions

View File

@@ -9,7 +9,7 @@ import (
)
func HandleUninstall(conn net.Conn, req models.Request) {
name, ok := req.Params["name"].(string)
name, ok := models.Get[string](req, "name")
if !ok {
models.RespondError(conn, req.ID, "missing or invalid 'name' parameter")
return