eventSink(HistoryUiEvent.UnMarkAllHistoryForDeletion)
}
// TODO: leaving the screen before this is executed will not actually delete the records
// So when the user next undo delete all, they will recover supposedly deleted records
SnackbarResult.Dismissed -> {
eventSink(HistoryUiEvent.DeleteAllHistory)
}
So when the user next undo delete all, they will recover supposedly deleted records
https://github.com/lydavid/MusicSearch/blob/d219eabd85309db71e66c462f885d9d53cc84fe3/shared/feature/history/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/history/internal/History.kt#L76