Browse Source

add message on search

marinofaggiana 5 năm trước cách đây
mục cha
commit
8694ef07c0
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      iOSClient/Media/NCMedia.swift

+ 2 - 0
iOSClient/Media/NCMedia.swift

@@ -621,6 +621,8 @@ extension NCMedia {
                 
             }  else {
                 
+                 NCContentPresenter.shared.messageNotification("_error_", description: message, delay: TimeInterval(k_dismissAfterSecond), type: NCContentPresenter.messageType.error, errorCode: errorCode)
+                
                 self.loadingSearch = false
                 
                 self.reloadDataSource(loadNetworkDatasource: false)