Fix #136 - crash with download button and lives

This commit is contained in:
Thomas 2020-12-11 17:16:29 +01:00
parent 85ffb4064b
commit 76a4aa5ae6
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ public class VideoData {
} }
} }
} }
return files.get(0).getFileDownloadUrl(); return files != null && files.size() > 0 ? files.get(0).getFileDownloadUrl() : null;
} }
public Account getAccount() { public Account getAccount() {