Skip to content

Commit

Permalink
Removed unused widgets (#2800)
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek2010 authored Feb 5, 2019
1 parent 5017a83 commit 62791b1
Show file tree
Hide file tree
Showing 22 changed files with 2 additions and 641 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import org.odk.collect.android.utilities.ToastUtils;
import org.odk.collect.android.views.ODKView;
import org.odk.collect.android.widgets.BaseImageWidget;
import org.odk.collect.android.widgets.ImageWebViewWidget;
import org.odk.collect.android.widgets.QuestionWidget;

import java.io.File;
Expand Down Expand Up @@ -64,8 +63,7 @@ protected File doInBackground(Uri... uris) {
QuestionWidget questionWidget = formEntryActivity.get().getWidgetWaitingForBinaryData();

// apply image conversion if the widget is an image widget
if (questionWidget instanceof BaseImageWidget ||
questionWidget instanceof ImageWebViewWidget) {
if (questionWidget instanceof BaseImageWidget) {
ImageConverter.execute(newFile.getPath(), questionWidget, formEntryActivity.get());
}

Expand Down

This file was deleted.

Loading

0 comments on commit 62791b1

Please sign in to comment.