Don't recreate the MainActivity when the minimize setting is changed
Recreating is only needed when something in the UI changes
This commit is contained in:
parent
75f2ce95a3
commit
cb98937167
1 changed files with 1 additions and 2 deletions
|
@ -390,8 +390,7 @@ public class MainActivity extends BaseActivity
|
|||
if (key.equals(getString(R.string.settings_key_label_size)) ||
|
||||
key.equals(getString(R.string.settings_key_label_scroll)) ||
|
||||
key.equals(getString(R.string.settings_key_split_group_size)) ||
|
||||
key.equals(getString(R.string.settings_key_thumbnail_size)) ||
|
||||
key.equals(getString(R.string.settings_key_minimize_on_copy))) {
|
||||
key.equals(getString(R.string.settings_key_thumbnail_size))) {
|
||||
adapter.notifyDataSetChanged();
|
||||
} else if (key.equals(getString(R.string.settings_key_search_includes))) {
|
||||
adapter.clearFilter();
|
||||
|
|
Loading…
Reference in a new issue