Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/ios.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Widget/Dashboard/DashboardData.swift')
-rw-r--r--Widget/Dashboard/DashboardData.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/Widget/Dashboard/DashboardData.swift b/Widget/Dashboard/DashboardData.swift
index 5a47f9bc2..52f2e2c42 100644
--- a/Widget/Dashboard/DashboardData.swift
+++ b/Widget/Dashboard/DashboardData.swift
@@ -140,7 +140,6 @@ func getDashboardDataEntry(configuration: DashboardIntent?, isPreview: Bool, dis
let (tableDashboard, tableButton) = NCManageDatabase.shared.getDashboardWidget(account: account.account, id: id)
let existsButton = (tableButton?.isEmpty ?? true) ? false : true
- let options = NKRequestOptions(timeout: 15, queue: NKCommon.shared.backgroundQueue)
let title = tableDashboard?.title ?? id
var imagetmp = UIImage(named: "widget")!
@@ -151,7 +150,8 @@ func getDashboardDataEntry(configuration: DashboardIntent?, isPreview: Bool, dis
}
}
let titleImage = imagetmp
-
+
+ let options = NKRequestOptions(timeout: 90, queue: NKCommon.shared.backgroundQueue)
NextcloudKit.shared.getDashboardWidgetsApplication(id, options: options) { _, results, data, error in
Task {