Skip to content

Commit acc49b4

Browse files
committed
Fix hasSynced implementation
1 parent e7b5a48 commit acc49b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PowerSync/Protocol/sync/SyncStream.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public struct SyncSubscriptionDescription: SyncStreamDescription {
7878
/// Whether this stream has been synced at least once.
7979
public var hasSynced: Bool {
8080
get {
81-
return self.expiresAt != nil
81+
return self.lastSyncedAt != nil
8282
}
8383
}
8484
}

0 commit comments

Comments
 (0)