Skip to content

Commit

Permalink
Retain scroll on package refresh, resolves #127
Browse files Browse the repository at this point in the history
  • Loading branch information
threethan committed Apr 26, 2024
1 parent 25bbfcd commit 28a2fe0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,9 @@ public void refreshAppList() {
if (getAppAdapter() != null)
getAppAdapter().setFullAppSet(Platform.apps);

final int scrollY = appsView.getScrollY();
runOnUiThread(() -> getAppAdapter().setAppList(this));
appsView.setScrollY(scrollY);
}

/**
Expand Down

0 comments on commit 28a2fe0

Please sign in to comment.