chore: bump dart sdk to 3.8 (#20355)

* chore: bump dart sdk to 3.8

* chore: make build

* make pigeon

* chore: format files

---------

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong
2025-07-29 00:34:03 +05:30
committed by GitHub
parent 9b3718120b
commit e52b9d15b5
643 changed files with 32561 additions and 35292 deletions
+6 -25
View File
@@ -21,11 +21,7 @@ class TimelineService {
final AppSettingsService _appSettingsService;
final UserService _userService;
const TimelineService(
this._timelineRepository,
this._appSettingsService,
this._userService,
);
const TimelineService(this._timelineRepository, this._appSettingsService, this._userService);
Future<List<String>> getTimelineUserIds() async {
final me = _userService.getMyUser();
@@ -42,10 +38,7 @@ class TimelineService {
}
Stream<RenderList> watchMultiUsersTimeline(List<String> userIds) {
return _timelineRepository.watchMultiUsersTimeline(
userIds,
_getGroupByOption(),
);
return _timelineRepository.watchMultiUsersTimeline(userIds, _getGroupByOption());
}
Stream<RenderList> watchArchiveTimeline() async* {
@@ -61,10 +54,7 @@ class TimelineService {
}
Stream<RenderList> watchAlbumTimeline(Album album) async* {
yield* _timelineRepository.watchAlbumTimeline(
album,
_getGroupByOption(),
);
yield* _timelineRepository.watchAlbumTimeline(album, _getGroupByOption());
}
Stream<RenderList> watchTrashTimeline() async* {
@@ -79,10 +69,7 @@ class TimelineService {
return _timelineRepository.watchAllVideosTimeline(user.id);
}
Future<RenderList> getTimelineFromAssets(
List<Asset> assets,
GroupAssetsBy? groupBy,
) {
Future<RenderList> getTimelineFromAssets(List<Asset> assets, GroupAssetsBy? groupBy) {
GroupAssetsBy groupOption = GroupAssetsBy.none;
if (groupBy == null) {
groupOption = _getGroupByOption();
@@ -90,10 +77,7 @@ class TimelineService {
groupOption = groupBy;
}
return _timelineRepository.getTimelineFromAssets(
assets,
groupOption,
);
return _timelineRepository.getTimelineFromAssets(assets, groupOption);
}
Stream<RenderList> watchAssetSelectionTimeline() async* {
@@ -109,9 +93,6 @@ class TimelineService {
Stream<RenderList> watchLockedTimelineProvider() async* {
final user = _userService.getMyUser();
yield* _timelineRepository.watchLockedTimeline(
user.id,
_getGroupByOption(),
);
yield* _timelineRepository.watchLockedTimeline(user.id, _getGroupByOption());
}
}