From 87c47d0b42647a685086cdce1c51f5184219d4e6 Mon Sep 17 00:00:00 2001 From: krustowski Date: Mon, 23 Sep 2024 21:28:30 +0200 Subject: [PATCH] add leaf instead of the bomb as star button --- .env.example | 2 +- api/swagger.json | 2 +- pkg/backend/router.go | 2 +- pkg/frontend/flow.go | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index 8dca762..d4a4e73 100644 --- a/.env.example +++ b/.env.example @@ -3,5 +3,5 @@ # APP_NAME=littr -APP_VERSION=0.40.11 +APP_VERSION=0.40.12 GOLANG_VERSION=1.23 diff --git a/api/swagger.json b/api/swagger.json index da459d6..7dac566 100644 --- a/api/swagger.json +++ b/api/swagger.json @@ -13,7 +13,7 @@ "name": "MIT", "url": "https://github.com/krustowski/littr/blob/master/LICENSE" }, - "version": "0.40.11" + "version": "0.40.12" }, "host": "www.littr.eu", "basePath": "/api/v1", diff --git a/pkg/backend/router.go b/pkg/backend/router.go index 4a018c1..e4a6cea 100644 --- a/pkg/backend/router.go +++ b/pkg/backend/router.go @@ -1,5 +1,5 @@ // @title littr -// @version 0.40.11 +// @version 0.40.12 // @description a simple nanoblogging platform as PWA built on go-app framework // @termsOfService https://littr.eu/tos diff --git a/pkg/frontend/flow.go b/pkg/frontend/flow.go index 8176de6..82fc60d 100644 --- a/pkg/frontend/flow.go +++ b/pkg/frontend/flow.go @@ -1668,7 +1668,8 @@ func (c *flowContent) Render() app.UI { app.B().Title("reaction count").Text(post.ReactionCount).Class("left-padding"), app.Button().Title("increase the reaction count").ID(key).Class("transparent circle").OnClick(c.onClickStar).Disabled(c.buttonDisabled).Attr("touch-action", "none").Body( //app.I().Text("ac_unit"), - app.I().Text("bomb"), + //app.I().Text("bomb"), + app.I().Text("nest_eco_leaf"), ), ), ),