fix: send resolved sticker mode before auto to sync immediate state

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-23 23:37:38 -04:00
parent 141296b35e
commit 6d9c4d50bb
2 changed files with 4 additions and 1 deletions

View File

@@ -2,7 +2,7 @@ export const branding = {
app: {
name: 'HSO Jackbox Game Picker',
shortName: 'Jackbox Game Picker',
version: '0.8.1 - Stickers That Stick Edition',
version: '0.8.1.1 - Stickers That Stick Edition',
description: 'Spicing up Hyper Spaceout game nights!',
},
meta: {

View File

@@ -908,6 +908,9 @@ function Picker() {
key={opt.value}
onClick={() => {
setStickerMode(opt.value);
if (opt.value === 'auto') {
stickerSendRef.current?.(pollActive ? 'show' : 'hide');
}
stickerSendRef.current?.(opt.value);
}}
disabled={!stickerWsReady}