File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
app/src/main/java/com/nextcloud/ui Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11/*
22 * Nextcloud - Android Client
33 *
4+ * SPDX-FileCopyrightText: 2025 Alper Ozturk <alper.ozturk@nextcloud.com>
45 * SPDX-FileCopyrightText: 2025 Tobias Kaminsky <tobias.kaminsky@nextcloud.com>
56 * SPDX-License-Identifier: AGPL-3.0-or-later
67 */
Original file line number Diff line number Diff line change 11/*
22 * Nextcloud - Android Client
33 *
4- * SPDX-FileCopyrightText: 2025 Your Name <your@email .com>
4+ * SPDX-FileCopyrightText: 2025 Alper Ozturk <alper.ozturk@nextcloud .com>
55 * SPDX-License-Identifier: AGPL-3.0-or-later
66 */
77
@@ -168,9 +168,8 @@ class ClientIntegration(
168168 }
169169 val response = method.getResponseBodyAsString()
170170
171- var output: ClientIntegrationUI ?
172171 try {
173- output = parseClientIntegrationResult(response)
172+ val output = parseClientIntegrationResult(response)
174173 if (output.root != null && output.root?.rows != null ) {
175174 startClientIntegration(endpoint, output)
176175 } else {
@@ -189,7 +188,7 @@ class ClientIntegration(
189188 }
190189
191190 private suspend fun showMessage (message : String ) = withContext(Dispatchers .Main ) {
192- DisplayUtils .showSnackMessage(sheet.view , message)
191+ DisplayUtils .showSnackMessage(sheet.requireActivity() , message)
193192 }
194193
195194 private fun parseTooltipResult (response : String? ): TooltipResponse {
You can’t perform that action at this time.
0 commit comments