This commit is contained in:
Chris Li 2016-09-29 17:09:53 -04:00
parent a28b840f1e
commit f89b83522f
5 changed files with 7 additions and 6 deletions

View File

@ -103,8 +103,6 @@ class BookDetailController: UITableViewController, DZNEmptyDataSetSource, DZNEmp
cellTitles[1] = [LocalizedStrings.downloading]
case .Local:
cellTitles[1] = [LocalizedStrings.remove]
default:
break
}
}

View File

@ -49,7 +49,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1.8.1488</string>
<string>1.8.1491</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSRequiresIPhoneOS</key>

View File

@ -21,7 +21,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.8.1492</string>
<string>1.8.1495</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionMainStoryboard</key>

View File

@ -114,6 +114,10 @@ class TodayViewController: UIViewController, NCWidgetProviding, UICollectionView
cell.label.text = title
cell.imageView.image = UIImage(data: thumbImageData)
if #available(iOS 10, *) {
cell.label.textColor = UIColor.darkGrayColor()
}
}
// MARK: - UICollectionViewDelegate

View File

@ -222,7 +222,6 @@ class Book: NSManagedObject {
case 1: return .Downloading
case 2: return .Local
case 3: return .Retained
case 4: return .Purgeable
default: return .Cloud
}
}
@ -244,7 +243,7 @@ class Book: NSManagedObject {
}
enum BookState: Int {
case Cloud, Downloading, Local, Retained, Purgeable
case Cloud, Downloading, Local, Retained
}