diff --git a/VERSION b/VERSION index 236c7ad..818944f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.21 +0.0.22 diff --git a/src/nostr_bridge.c b/src/nostr_bridge.c index e3427ac..99ba3a5 100644 --- a/src/nostr_bridge.c +++ b/src/nostr_bridge.c @@ -507,9 +507,21 @@ static char *sovereign_page_head(const char *title) { /* Build the theme-toggle button + closing . * Returns a newly-allocated string (g_free). */ static char *sovereign_page_foot(void) { + /* The theme toggle uses JavaScript to immediately flip the CSS class + * on for an instant visual response, then saves the setting + * via XHR without a page reload. */ return g_strdup_printf( - "" - "%s\n" + "%s\n" "\n", settings_get()->theme_dark ? "Day Mode" : "Night Mode"); } diff --git a/src/version.h b/src/version.h index 6aa381d..737c9b3 100644 --- a/src/version.h +++ b/src/version.h @@ -11,9 +11,9 @@ #ifndef SOVEREIGN_BROWSER_VERSION_H #define SOVEREIGN_BROWSER_VERSION_H -#define SB_VERSION "v0.0.21" +#define SB_VERSION "v0.0.22" #define SB_VERSION_MAJOR 0 #define SB_VERSION_MINOR 0 -#define SB_VERSION_PATCH 21 +#define SB_VERSION_PATCH 22 #endif /* SOVEREIGN_BROWSER_VERSION_H */