From d017952ffea178c9745f09cef8b09ec5e5fa845e Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 25 Aug 2023 13:36:20 +0200 Subject: [PATCH] Bug with long values --- .../android/mastodon/client/entities/api/Account.java | 6 +++--- .../android/mastodon/client/entities/api/Status.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/app/fedilab/android/mastodon/client/entities/api/Account.java b/app/src/main/java/app/fedilab/android/mastodon/client/entities/api/Account.java index cc0ce867..a29c3749 100644 --- a/app/src/main/java/app/fedilab/android/mastodon/client/entities/api/Account.java +++ b/app/src/main/java/app/fedilab/android/mastodon/client/entities/api/Account.java @@ -60,11 +60,11 @@ public class Account implements Serializable { @SerializedName("header_static") public String header_static; @SerializedName("followers_count") - public int followers_count; + public long followers_count; @SerializedName("following_count") - public int following_count; + public long following_count; @SerializedName("statuses_count") - public int statuses_count; + public long statuses_count; @SerializedName("last_status_at") public Date last_status_at; @SerializedName("source") diff --git a/app/src/main/java/app/fedilab/android/mastodon/client/entities/api/Status.java b/app/src/main/java/app/fedilab/android/mastodon/client/entities/api/Status.java index 5dadc381..15fec66b 100644 --- a/app/src/main/java/app/fedilab/android/mastodon/client/entities/api/Status.java +++ b/app/src/main/java/app/fedilab/android/mastodon/client/entities/api/Status.java @@ -62,11 +62,11 @@ public class Status implements Serializable, Cloneable { @SerializedName("url") public String url; @SerializedName("replies_count") - public int replies_count; + public long replies_count; @SerializedName("reblogs_count") - public int reblogs_count; + public long reblogs_count; @SerializedName("favourites_count") - public int favourites_count; + public long favourites_count; @SerializedName("favourited") public boolean favourited; @SerializedName("reblogged")