File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed
apps/desktop/src/routes/(window-chrome)/settings Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ function RecordingItem(props: {
234
234
</ Show >
235
235
< div class = "flex flex-col gap-2" >
236
236
< span > { props . recording . prettyName } </ span >
237
- < div class = "flex" >
237
+ < div class = "flex space-x-1 " >
238
238
< div
239
239
class = { cx (
240
240
"px-2 py-0.5 flex items-center gap-1.5 font-medium text-[11px] text-gray-12 rounded-full w-fit" ,
@@ -249,6 +249,25 @@ function RecordingItem(props: {
249
249
< p > { firstLetterUpperCase ( ) } </ p >
250
250
</ div >
251
251
252
+ < Show
253
+ when = {
254
+ "recording" in props . recording . meta
255
+ ? props . recording . meta . recording
256
+ : undefined
257
+ }
258
+ >
259
+ < div
260
+ class = { cx (
261
+ "px-2 py-0.5 flex items-center gap-1.5 font-medium text-[11px] text-gray-12 rounded-full w-fit bg-orange-600" ,
262
+ ) }
263
+ >
264
+ { /* TODO: Get a proper icon here */ }
265
+ < IconCapInstant class = "invert size-2.5 dark:invert-0" />
266
+ < p > RECORDING</ p >
267
+ </ div >
268
+ </ Show >
269
+
270
+ { /* TODO: Account for studio mode vs instant mode error */ }
252
271
< Show
253
272
when = {
254
273
"error" in props . recording . meta
@@ -259,8 +278,7 @@ function RecordingItem(props: {
259
278
{ ( error ) => (
260
279
< div
261
280
class = { cx (
262
- "px-2 py-0.5 flex items-center gap-1.5 font-medium text-[11px] text-gray-12 rounded-full w-fit" ,
263
- mode ( ) === "instant" ? "bg-blue-100" : "bg-gray-3" ,
281
+ "px-2 py-0.5 flex items-center gap-1.5 font-medium text-[11px] text-gray-12 rounded-full w-fit bg-red-600" ,
264
282
) }
265
283
>
266
284
{ /* TODO: Get a proper icon here */ }
You can’t perform that action at this time.
0 commit comments