|
@@ -47,15 +47,15 @@ public class TextEditorLoadUrlTask extends AsyncTask<Void, Void, String> {
|
|
|
return "";
|
|
|
}
|
|
|
|
|
|
- RemoteOperationResult result = new DirectEditingOpenFileRemoteOperation(file.getRemotePath(), editor.getId())
|
|
|
- .execute(user, editorWebViewWeakReference.get());
|
|
|
+ RemoteOperationResult<String> result = new DirectEditingOpenFileRemoteOperation(file.getRemotePath(), editor.getId())
|
|
|
+ .executeNextcloudClient(user, editorWebViewWeakReference.get());
|
|
|
|
|
|
|
|
|
if (!result.isSuccess()) {
|
|
|
return "";
|
|
|
}
|
|
|
|
|
|
- return (String) result.getData().get(0);
|
|
|
+ return result.getResultData();
|
|
|
}
|
|
|
|
|
|
@Override
|