Skip to content

Commit

Permalink
Fix initial loading error
Browse files Browse the repository at this point in the history
  • Loading branch information
glushchenko committed Nov 21, 2017
1 parent 48e8193 commit bac5ed7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions FSNotes/Model/Storage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ class Storage {

note.load(url)

if !note.isSynced {
note.modifiedLocalAt = date
}

if note.isPinned {
Storage.pinned += 1
}
Expand Down

0 comments on commit bac5ed7

Please sign in to comment.