mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 13:15:35 +03:00
Merge pull request #284 from nextcloud/logSendCrash
Crash when sending non-existing log
This commit is contained in:
commit
6c06147f4e
1 changed files with 2 additions and 1 deletions
|
@ -541,7 +541,8 @@ public class ReceiveExternalFilesActivity extends FileActivity
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean somethingToUpload() {
|
private boolean somethingToUpload() {
|
||||||
return (mStreamsToUpload != null && mStreamsToUpload.get(0) != null || uploadTextSnippet());
|
return (mStreamsToUpload != null && mStreamsToUpload.size() > 0 && mStreamsToUpload.get(0) != null ||
|
||||||
|
uploadTextSnippet());
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean uploadTextSnippet() {
|
private boolean uploadTextSnippet() {
|
||||||
|
|
Loading…
Reference in a new issue