Prevent NPE

pull/209/head
M66B 2 years ago
parent f86dcc6f78
commit 8edc9b0bd4

@ -433,7 +433,8 @@ public class FragmentDialogInsertLink extends FragmentDialogBase {
protected void onProgress(CharSequence status, Bundle data) {
int progress = data.getInt("progress");
Log.i("Send progress=" + progress);
pbUpload.setProgress(progress);
if (pbUpload != null)
pbUpload.setProgress(progress);
}
@Override

Loading…
Cancel
Save