diff --git a/Kiwix-iOS/Controller/Library/CloudBooksController.swift b/Kiwix-iOS/Controller/Library/CloudBooksController.swift
index 77ab036c..3743487c 100644
--- a/Kiwix-iOS/Controller/Library/CloudBooksController.swift
+++ b/Kiwix-iOS/Controller/Library/CloudBooksController.swift
@@ -222,7 +222,6 @@ class CloudBooksController: UITableViewController, NSFetchedResultsControllerDel
}()
cell.hasPic = book.hasPic
- cell.hasIndex = book.hasIndex
cell.favIcon.image = UIImage(data: book.favIcon ?? NSData())
cell.titleLabel.text = book.title
cell.subtitleLabel.text = [
diff --git a/Kiwix-iOS/Controller/Library/LocalBooksController.swift b/Kiwix-iOS/Controller/Library/LocalBooksController.swift
index 000481be..bcad8869 100644
--- a/Kiwix-iOS/Controller/Library/LocalBooksController.swift
+++ b/Kiwix-iOS/Controller/Library/LocalBooksController.swift
@@ -81,7 +81,6 @@ class LocalBooksController: UITableViewController, NSFetchedResultsControllerDel
cell.titleLabel.text = book.title
cell.hasPic = book.hasPic
- cell.hasIndex = book.hasIndex
cell.favIcon.image = UIImage(data: book.favIcon ?? NSData())
cell.subtitleLabel.text = book.detailedDescription
}
diff --git a/Kiwix-iOS/Controller/Search/SearchBooksVC.swift b/Kiwix-iOS/Controller/Search/SearchBooksVC.swift
index f5620b96..bdab9554 100644
--- a/Kiwix-iOS/Controller/Search/SearchBooksVC.swift
+++ b/Kiwix-iOS/Controller/Search/SearchBooksVC.swift
@@ -117,7 +117,6 @@ class SearchBooksController: UIViewController, UITableViewDelegate, UITableViewD
cell.favIcon.image = UIImage(data: book.favIcon ?? NSData())
cell.hasPic = book.hasPic
- cell.hasIndex = book.hasIndex
cell.isChecked = book.includeInSearch
}
diff --git a/Kiwix-iOS/Info.plist b/Kiwix-iOS/Info.plist
index 774fcceb..be30e301 100644
--- a/Kiwix-iOS/Info.plist
+++ b/Kiwix-iOS/Info.plist
@@ -49,7 +49,7 @@
CFBundleVersion
- 1.8.1249
+ 1.8.1259
ITSAppUsesNonExemptEncryption
LSRequiresIPhoneOS
diff --git a/Kiwix-iOS/Storyboard/Library.storyboard b/Kiwix-iOS/Storyboard/Library.storyboard
index 9087136d..6d7764c3 100644
--- a/Kiwix-iOS/Storyboard/Library.storyboard
+++ b/Kiwix-iOS/Storyboard/Library.storyboard
@@ -4,7 +4,6 @@
-
@@ -17,88 +16,69 @@
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
@@ -195,11 +175,11 @@
-
+
-
+
@@ -212,18 +192,18 @@
-
+
-
+
-
+
@@ -260,11 +240,11 @@
-
+
-
+
@@ -277,7 +257,7 @@
-
+
@@ -349,7 +329,7 @@
-
+
@@ -427,94 +407,69 @@
-
+
-
-
+
+
-
+
-
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
-
+
-
-
-
-
-
-
+
+
+
+
+
@@ -579,21 +534,21 @@
-
+
-
+
-
+
-
+
@@ -686,6 +641,6 @@
-
+
diff --git a/Kiwix-iOS/Storyboard/Search.storyboard b/Kiwix-iOS/Storyboard/Search.storyboard
index 87cb1f32..859772d4 100644
--- a/Kiwix-iOS/Storyboard/Search.storyboard
+++ b/Kiwix-iOS/Storyboard/Search.storyboard
@@ -1,5 +1,5 @@
-
+
@@ -68,10 +68,6 @@
-
-
-
-
@@ -82,6 +78,10 @@
+
+
+
+
@@ -95,10 +95,6 @@
-
-
-
-
@@ -113,6 +109,10 @@
+
+
+
+
@@ -160,7 +160,7 @@
-
+
@@ -182,31 +182,11 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
@@ -226,30 +206,18 @@
-
-
-
-
-
+
-
+
-
-
-
-
+
+
-
-
-
-
-
-
@@ -267,8 +235,7 @@
-
-
+
@@ -277,11 +244,11 @@
-
+
-
+
@@ -339,10 +306,10 @@
-
+
-
+
@@ -393,10 +360,10 @@
-
+
-
+
diff --git a/Kiwix-iOS/View/TableViewCells.swift b/Kiwix-iOS/View/TableViewCells.swift
index b568cbc9..215a2d59 100644
--- a/Kiwix-iOS/View/TableViewCells.swift
+++ b/Kiwix-iOS/View/TableViewCells.swift
@@ -10,24 +10,20 @@ import UIKit
// MARK: - Book Cells (new)
-/* Book Cell With P & I indicator */
+/* Book Cell With picture indicator */
class BasicBookCell: UITableViewCell {
@IBOutlet weak var favIcon: UIImageView!
@IBOutlet weak var titleLabel: UILabel!
@IBOutlet weak var subtitleLabel: UILabel!
- @IBOutlet weak private var hasPicIndicator: UILabel!
- @IBOutlet weak private var hasIndexIndicator: UILabel!
+ @IBOutlet weak var hasPicIndicator: UIView!
// MARK: Override
override func awakeFromNib() {
- hasPicIndicator.layer.cornerRadius = 2.0
- hasIndexIndicator.layer.cornerRadius = 2.0
+ hasPicIndicator.layer.cornerRadius = 1.0
hasPicIndicator.layer.masksToBounds = true
- hasIndexIndicator.layer.masksToBounds = true
hasPicIndicator.backgroundColor = UIColor.clearColor()
- hasIndexIndicator.backgroundColor = UIColor.clearColor()
}
override func prepareForReuse() {
@@ -36,18 +32,21 @@ class BasicBookCell: UITableViewCell {
highlighted = false
}
+ override func setHighlighted(highlighted: Bool, animated: Bool) {
+ super.setHighlighted(highlighted, animated: animated)
+ setHasPicIndicatorColor()
+ }
+
// MARK: Shorthand properties
var hasPic: Bool = false {
didSet {
- hasPicIndicator.layer.backgroundColor = hasPic ? AppColors.hasPicTintColor.CGColor : UIColor.lightGrayColor().CGColor
+ setHasPicIndicatorColor()
}
}
- var hasIndex: Bool = false {
- didSet {
- hasIndexIndicator.layer.backgroundColor = hasIndex ? AppColors.hasIndexTintColor.CGColor : UIColor.lightGrayColor().CGColor
- }
+ private func setHasPicIndicatorColor() {
+ hasPicIndicator.backgroundColor = hasPic ? AppColors.hasPicTintColor : UIColor.lightGrayColor()
}
}
diff --git a/Kiwix-iOSWidgets/Bookmarks/Info.plist b/Kiwix-iOSWidgets/Bookmarks/Info.plist
index 4d2a69fe..7a6f80c7 100644
--- a/Kiwix-iOSWidgets/Bookmarks/Info.plist
+++ b/Kiwix-iOSWidgets/Bookmarks/Info.plist
@@ -21,7 +21,7 @@
CFBundleSignature
????
CFBundleVersion
- 1.8.1253
+ 1.8.1263
NSExtension
NSExtensionMainStoryboard
diff --git a/Kiwix.xcworkspace/xcuserdata/chrisli.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/Kiwix.xcworkspace/xcuserdata/chrisli.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
index 4d17879a..c0efb1d7 100644
--- a/Kiwix.xcworkspace/xcuserdata/chrisli.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
+++ b/Kiwix.xcworkspace/xcuserdata/chrisli.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
@@ -56,7 +56,7 @@
moduleName = "Kiwix"
usesParentBreakpointCondition = "Yes"
urlString = "file:///Volumes/Data/Developer/Kiwix/Kiwix/Operations/BookmarkMigrationOperation.swift"
- timestampString = "496704126.923131"
+ timestampString = "496769631.355872"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "27"
@@ -71,7 +71,7 @@
moduleName = "Kiwix"
usesParentBreakpointCondition = "Yes"
urlString = "file:///Volumes/Data/Developer/Kiwix/Kiwix/Operations/BookmarkMigrationOperation.swift"
- timestampString = "496704126.924306"
+ timestampString = "496769631.357054"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "27"