File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ mixin PowerSyncDatabaseMixin implements SqliteConnection {
187187 if (priority == null ) {
188188 return status.hasSynced == true ;
189189 } else {
190- return status.statusForPriority (priority)? .hasSynced == true ;
190+ return status.statusForPriority (priority).hasSynced == true ;
191191 }
192192 }
193193
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ void main() {
134134 await expectLater (
135135 status,
136136 emits (isSyncStatus (downloading: true , hasSynced: false ).having (
137- (e) => e.statusForPriority (BucketPriority (0 ))? .hasSynced,
137+ (e) => e.statusForPriority (BucketPriority (0 )).hasSynced,
138138 'status for $prio ' ,
139139 isTrue,
140140 )),
@@ -180,12 +180,12 @@ void main() {
180180 expect (
181181 independentDb.currentStatus
182182 .statusForPriority (BucketPriority (0 ))
183- ? .hasSynced,
183+ .hasSynced,
184184 isTrue);
185185 expect (
186186 independentDb.currentStatus
187187 .statusForPriority (BucketPriority (3 ))
188- ? .hasSynced,
188+ .hasSynced,
189189 isFalse);
190190 });
191191 });
You can’t perform that action at this time.
0 commit comments