1
0
mirror of https://framagit.org/tom79/fedilab-tube synced 2025-02-16 12:00:42 +01:00

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

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() {