mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-21 15:29:18 -04:00
only scroll to bottom of Setting when toggling Expert Mode
closes #1502
This commit is contained in:
@@ -295,6 +295,8 @@ public class PreferencesFragment extends PreferenceFragment
|
||||
if (TextUtils.equals(Preferences.PREF_EXPERT, pref.getDependency())) {
|
||||
pref.setVisible(isExpertMode);
|
||||
}
|
||||
}
|
||||
if (changing) {
|
||||
RecyclerView recyclerView = getListView();
|
||||
recyclerView.smoothScrollToPosition(recyclerView.getAdapter().getItemCount() - 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user