diff --git a/Kiwix-iOS/Controller/Library/CloudBooksController.swift b/Kiwix-iOS/Controller/Library/CloudBooksController.swift
index 44b581ef..d824e6b7 100644
--- a/Kiwix-iOS/Controller/Library/CloudBooksController.swift
+++ b/Kiwix-iOS/Controller/Library/CloudBooksController.swift
@@ -38,7 +38,7 @@ class CloudBooksController: UITableViewController, NSFetchedResultsControllerDel
override func viewWillAppear(animated: Bool) {
super.viewWillAppear(animated)
- tabBarController?.navigationItem.rightBarButtonItem = UIBarButtonItem(imageNamed: "LanguageFilter", target: self, action: #selector(CloudBooksController.showLanguageFilter))
+ configureNavBarButtons()
refreshAutomatically()
}
@@ -119,6 +119,7 @@ class CloudBooksController: UITableViewController, NSFetchedResultsControllerDel
} else{
if operation.firstTime {
self.showLanguageFilterAlert()
+ self.configureNavBarButtons()
} else {
self.showRefreshSuccessMessage()
}
@@ -169,6 +170,11 @@ class CloudBooksController: UITableViewController, NSFetchedResultsControllerDel
presentViewController(alert, animated: true, completion: nil)
}
+ func configureNavBarButtons() {
+ tabBarController?.navigationItem.rightBarButtonItem = Preference.libraryLastRefreshTime == nil ? nil
+ : UIBarButtonItem(imageNamed: "LanguageFilter", target: self, action: #selector(CloudBooksController.showLanguageFilter))
+ }
+
// MARK: - LanguageFilterUpdating
func languageFilterChanged() {
diff --git a/Kiwix-iOS/Info.plist b/Kiwix-iOS/Info.plist
index 0955780a..903ead86 100644
--- a/Kiwix-iOS/Info.plist
+++ b/Kiwix-iOS/Info.plist
@@ -49,7 +49,7 @@
CFBundleVersion
- 1.8.922
+ 1.8.924
ITSAppUsesNonExemptEncryption
LSRequiresIPhoneOS
diff --git a/Kiwix-iOSWidgets/Bookmarks/Info.plist b/Kiwix-iOSWidgets/Bookmarks/Info.plist
index 7a8be5e0..6916afa6 100644
--- a/Kiwix-iOSWidgets/Bookmarks/Info.plist
+++ b/Kiwix-iOSWidgets/Bookmarks/Info.plist
@@ -21,7 +21,7 @@
CFBundleSignature
????
CFBundleVersion
- 1.8.925
+ 1.8.927
NSExtension
NSExtensionMainStoryboard