Skip to content

Commit

Permalink
turned off history save
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanneff committed May 25, 2016
1 parent 53d3bc8 commit 805c7e0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Organize/Notebook.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@ class Notebook: NSObject, NSCoding, Copying {
private func historySave() {
log("history save")
// already on background thread
while history.count >= 20 {
history.removeFirst()
}
history.append(NotebookHistory(notes: self.notes.clone(), display: self.display.clone()))
// TODO: turn on v3
// while history.count >= 20 {
// history.removeFirst()
// }
// history.append(NotebookHistory(notes: self.notes.clone(), display: self.display.clone()))
}

private func historyLoad(tableView tableView: UITableView) {
Expand Down

0 comments on commit 805c7e0

Please sign in to comment.