Fixed comments load

This commit is contained in:
gdlbo
2022-06-02 14:25:32 +03:00
parent 564eb85575
commit 6f4f073ed3
4 changed files with 13 additions and 24 deletions
@@ -171,8 +171,8 @@ public class Newsfeed {
return adsstories() ? "null" : "ads";
}
public static String getCommentsSort(String def) {
return CommentsSort() ? "desc" : "asc";
public static String getCommentsSort(int value) {
return !CommentsSort() && value == 2 || value == 1 ? "desc" : "asc";
}
public static long getUpdateNewsfeed(boolean refresh_timeout) {