fluxy-bot 0.3.12 → 0.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -252,7 +252,7 @@ export default function InputBar({ onSend, onStop, streaming, whisperEnabled }:
|
|
|
252
252
|
// Mic permission denied or not available
|
|
253
253
|
}
|
|
254
254
|
}, 200);
|
|
255
|
-
}, []);
|
|
255
|
+
}, [whisperEnabled]);
|
|
256
256
|
|
|
257
257
|
const handleMicMove = useCallback((e: RPointerEvent) => {
|
|
258
258
|
if (!isHolding.current) return;
|
|
@@ -382,11 +382,15 @@ export default function InputBar({ onSend, onStop, streaming, whisperEnabled }:
|
|
|
382
382
|
</button>
|
|
383
383
|
) : (
|
|
384
384
|
<div
|
|
385
|
-
className=
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
385
|
+
className={`flex items-center justify-center h-12 w-12 shrink-0 rounded-full transition-colors touch-none select-none ${
|
|
386
|
+
whisperEnabled
|
|
387
|
+
? 'bg-gradient-brand text-white cursor-pointer'
|
|
388
|
+
: 'bg-gray-200 text-gray-400 cursor-default'
|
|
389
|
+
}`}
|
|
390
|
+
onPointerDown={whisperEnabled ? handleMicDown : undefined}
|
|
391
|
+
onPointerMove={whisperEnabled ? handleMicMove : undefined}
|
|
392
|
+
onPointerUp={whisperEnabled ? handleMicUp : undefined}
|
|
393
|
+
onPointerCancel={whisperEnabled ? handleMicCancel : undefined}
|
|
390
394
|
>
|
|
391
395
|
<Mic className="h-4 w-4" />
|
|
392
396
|
</div>
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
8
8
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
|
9
9
|
<meta name="apple-mobile-web-app-title" content="Fluxy" />
|
|
10
|
-
<link rel="apple-touch-icon" href="/
|
|
10
|
+
<link rel="apple-touch-icon" href="/fluxy-icon-192.png" />
|
|
11
11
|
<link rel="manifest" href="/manifest.json" />
|
|
12
12
|
<title>Fluxy</title>
|
|
13
13
|
</head>
|
|
Binary file
|
|
Binary file
|
|
@@ -8,14 +8,16 @@
|
|
|
8
8
|
"theme_color": "#212121",
|
|
9
9
|
"icons": [
|
|
10
10
|
{
|
|
11
|
-
"src": "/
|
|
11
|
+
"src": "/fluxy-icon-192.png",
|
|
12
12
|
"sizes": "192x192",
|
|
13
|
-
"type": "image/png"
|
|
13
|
+
"type": "image/png",
|
|
14
|
+
"purpose": "any maskable"
|
|
14
15
|
},
|
|
15
16
|
{
|
|
16
|
-
"src": "/
|
|
17
|
+
"src": "/fluxy-icon-512.png",
|
|
17
18
|
"sizes": "512x512",
|
|
18
|
-
"type": "image/png"
|
|
19
|
+
"type": "image/png",
|
|
20
|
+
"purpose": "any maskable"
|
|
19
21
|
}
|
|
20
22
|
]
|
|
21
23
|
}
|