Skip to content

Commit 68ff6a2

Browse files
committed
Remove DiskSpaceLow event from RecordingEvent enum
1 parent c94e044 commit 68ff6a2

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

apps/desktop/src-tauri/src/recording.rs

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -347,25 +347,12 @@ pub enum RecordingInputKind {
347347
#[derive(tauri_specta::Event, specta::Type, Clone, Debug, serde::Serialize)]
348348
#[serde(tag = "variant")]
349349
pub enum RecordingEvent {
350-
Countdown {
351-
value: u32,
352-
},
350+
Countdown { value: u32 },
353351
Started,
354352
Stopped,
355-
Failed {
356-
error: String,
357-
},
358-
InputLost {
359-
input: RecordingInputKind,
360-
},
361-
InputRestored {
362-
input: RecordingInputKind,
363-
},
364-
DiskSpaceLow {
365-
available_mb: u32,
366-
threshold_mb: u32,
367-
path: String,
368-
},
353+
Failed { error: String },
354+
InputLost { input: RecordingInputKind },
355+
InputRestored { input: RecordingInputKind },
369356
}
370357

371358
#[derive(Serialize, Type)]

0 commit comments

Comments
 (0)