Skip to content

Commit

Permalink
Fix bug in 3d touch quick action; increment to build 4
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBennet committed Oct 9, 2017
1 parent ded9bcb commit 75b3c2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion books/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>3</string>
<string>4</string>
<key>Fabric</key>
<dict>
<key>APIKey</key>
Expand Down
4 changes: 2 additions & 2 deletions books/ViewControllers/Main/BookDetails.swift
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class BookDetails: UIViewController {
optionsAlert.addAction(UIAlertAction(title: "Edit Reading Log", style: .default) { [unowned self] _ in
self.performSegue(withIdentifier: "editReadStateSegue", sender: self)
})
optionsAlert.addAction(UIAlertAction(title: "Edit Book Details", style: .default){ [unowned self] _ in
optionsAlert.addAction(UIAlertAction(title: "Edit Book Details", style: .default) { [unowned self] _ in
self.performSegue(withIdentifier: "editBookSegue", sender: self)
})
optionsAlert.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: nil))
Expand Down Expand Up @@ -300,7 +300,7 @@ class BookDetails: UIViewController {
}
else if book.readState == .reading {
previewActions.append(UIPreviewAction(title: "Finish", style: .default){ _,_ in
book.transistionToReading()
book.transistionToFinished()
})
}
previewActions.append(UIPreviewAction(title: "Delete", style: .destructive) { _,_ in
Expand Down

0 comments on commit 75b3c2f

Please sign in to comment.