базовая логика скачивания обновлений

This commit is contained in:
2026-03-22 01:04:16 +04:00
parent 4b1cecbefd
commit 73d8798bb9
39 changed files with 2372 additions and 1017 deletions
@@ -5,14 +5,22 @@ sealed class HomeScreenEvent {}
final class HomeScreenLoad extends HomeScreenEvent {}
final class HomeScreenDownloadRequested extends HomeScreenEvent {}
final class HomeScreenSyncRequested extends HomeScreenEvent {}
final class HomeScreenOutputDirRequested extends HomeScreenEvent {}
final class HomeScreenDownloadPaused extends HomeScreenEvent {}
final class HomeScreenPauseRequested extends HomeScreenEvent {}
final class HomeScreenDownloadProgressUpdated extends HomeScreenEvent {
final DownloadProgress progress;
final class HomeScreenPlayRequested extends HomeScreenEvent {}
HomeScreenDownloadProgressUpdated(this.progress);
final class HomeScreenSyncStatusChanged extends HomeScreenEvent {
final ClientSyncStatus status;
HomeScreenSyncStatusChanged(this.status);
}
final class HomeScreenSyncFailed extends HomeScreenEvent {
final Object error;
HomeScreenSyncFailed(this.error);
}