Rename field to fix consistency issues.

This commit is contained in:
FireMasterK 2021-09-03 23:05:58 +05:30
parent b2c9ffa789
commit 1524085577
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -2,18 +2,18 @@ package me.kavin.piped.utils.obj;
public class StreamItem { public class StreamItem {
public String url, title, thumbnail, uploaderName, uploaderUrl, uploaderAvatarUrl, uploadedDate; public String url, title, thumbnail, uploaderName, uploaderUrl, uploaderAvatar, uploadedDate;
public long duration, views; public long duration, views;
public boolean uploaderVerified; public boolean uploaderVerified;
public StreamItem(String url, String title, String thumbnail, String uploaderName, String uploaderUrl, public StreamItem(String url, String title, String thumbnail, String uploaderName, String uploaderUrl,
String uploaderAvatarUrl, String uploadedDate, long duration, long views, boolean uploaderVerified) { String uploaderAvatar, String uploadedDate, long duration, long views, boolean uploaderVerified) {
this.url = url; this.url = url;
this.title = title; this.title = title;
this.thumbnail = thumbnail; this.thumbnail = thumbnail;
this.uploaderName = uploaderName; this.uploaderName = uploaderName;
this.uploaderUrl = uploaderUrl; this.uploaderUrl = uploaderUrl;
this.uploaderAvatarUrl = uploaderAvatarUrl; this.uploaderAvatar = uploaderAvatar;
this.uploadedDate = uploadedDate; this.uploadedDate = uploadedDate;
this.duration = duration; this.duration = duration;
this.views = views; this.views = views;