Skip to content

Commit

Permalink
make the if conditions easier to follow #11
Browse files Browse the repository at this point in the history
  • Loading branch information
sobri909 committed May 15, 2018
1 parent 1be15b2 commit 50bb222
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LocoKit/LocalStore/TimelineSegment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ public class TimelineSegment: TransactionObserver {
}

if freshItemCount != lastItemCount { return true }
if freshLastSaveDate == lastSaveDate { return false }
return true
if freshLastSaveDate != lastSaveDate { return true }
return false
}

private func reclassifySamples() {
Expand Down

0 comments on commit 50bb222

Please sign in to comment.