File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
mobile/lib/infrastructure/repositories Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -42,14 +42,10 @@ class DriftTimelineRepository extends DriftDatabaseRepository {
4242 throw UnsupportedError ("GroupAssetsBy.none is not supported for watchMainBucket" );
4343 }
4444
45- return _db.mergedAssetDrift
46- .mergedBucket (userIds: userIds, groupBy: groupBy.index)
47- .map ((row) {
48- final date = row.bucketDate.dateFmt (groupBy);
49- return TimeBucket (date: date, assetCount: row.assetCount);
50- })
51- .watch ()
52- .throttle (const Duration (seconds: 3 ), trailing: true );
45+ return _db.mergedAssetDrift.mergedBucket (userIds: userIds, groupBy: groupBy.index).map ((row) {
46+ final date = row.bucketDate.dateFmt (groupBy);
47+ return TimeBucket (date: date, assetCount: row.assetCount);
48+ }).watch ();
5349 }
5450
5551 Future <List <BaseAsset >> _getMainBucketAssets (List <String > userIds, {required int offset, required int count}) {
You can’t perform that action at this time.
0 commit comments