|
@@ -517,6 +517,10 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
|
|
|
return CCGraphics.changeThemingColorImage(UIImage.init(named: "search"), width: 300, height: 300, color: .gray)
|
|
|
}
|
|
|
|
|
|
+ if isReloadDataSourceNetworkInProgress {
|
|
|
+ return CCGraphics.changeThemingColorImage(UIImage.init(named: "networkInProgress"), width: 300, height: 300, color: .gray)
|
|
|
+ }
|
|
|
+
|
|
|
return DZNimage
|
|
|
}
|
|
|
|
|
@@ -524,6 +528,10 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
|
|
|
|
|
|
var text = "\n"+NSLocalizedString(DZNtitle, comment: "")
|
|
|
|
|
|
+ if isReloadDataSourceNetworkInProgress {
|
|
|
+ text = "\n"+NSLocalizedString("_request_in_progress_", comment: "")
|
|
|
+ }
|
|
|
+
|
|
|
if searchController?.isActive ?? false {
|
|
|
if isReloadDataSourceNetworkInProgress {
|
|
|
text = "\n"+NSLocalizedString("_search_in_progress_", comment: "")
|
|
@@ -540,6 +548,10 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
|
|
|
|
|
|
var text = "\n"+NSLocalizedString(DZNdescription, comment: "")
|
|
|
|
|
|
+ if isReloadDataSourceNetworkInProgress {
|
|
|
+ text = ""
|
|
|
+ }
|
|
|
+
|
|
|
if searchController?.isActive ?? false {
|
|
|
text = "\n"+NSLocalizedString("_search_instruction_", comment: "")
|
|
|
}
|