mirror of https://github.com/M66B/FairEmail.git
Prevent NPE
This commit is contained in:
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…
Reference in New Issue