revert, i said!

actually, the cached posts limit can stay
This commit is contained in:
sk
2023-10-26 18:38:06 +02:00
parent e8c9253a76
commit 812ab7198c
2 changed files with 2 additions and 2 deletions

View File

@@ -121,7 +121,7 @@ public class CacheController{
db.insertWithOnConflict("home_timeline", null, values, SQLiteDatabase.CONFLICT_REPLACE); db.insertWithOnConflict("home_timeline", null, values, SQLiteDatabase.CONFLICT_REPLACE);
} }
if(!clear) if(!clear)
db.delete("home_timeline", "`id` NOT IN (SELECT `id` FROM `home_timeline` ORDER BY `time` DESC LIMIT ?)", new String[]{"100"}); db.delete("home_timeline", "`id` NOT IN (SELECT `id` FROM `home_timeline` ORDER BY `time` DESC LIMIT ?)", new String[]{"1000"});
}); });
} }

View File

@@ -332,7 +332,7 @@ public class HomeTimelineFragment extends StatusListFragment {
dataLoading=false; dataLoading=false;
} }
if(parent!=null) parent.hideNewPostsButton(); if(parent!=null) parent.hideNewPostsButton();
loadNewPosts(); super.onRefresh();
} }
@Override @Override