set feedfiletype in DownloadStatus contructor
This commit is contained in:
parent
92feabbb5d
commit
0d9233d67a
|
@ -51,6 +51,9 @@ public class DownloadStatus {
|
||||||
|
|
||||||
public DownloadStatus(FeedFile feedfile, String title) {
|
public DownloadStatus(FeedFile feedfile, String title) {
|
||||||
this.feedfile = feedfile;
|
this.feedfile = feedfile;
|
||||||
|
if (feedfile != null) {
|
||||||
|
feedfileType = feedfile.getTypeAsInt();
|
||||||
|
}
|
||||||
this.title = title;
|
this.title = title;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue