Removed unused preferences

This commit is contained in:
CappielloAntonio 2021-05-01 19:33:11 +02:00
parent ead5346f1b
commit 01785b7bed
2 changed files with 1 additions and 3 deletions

View file

@ -66,8 +66,6 @@ public class SearchFragment extends Fragment {
public void onResume() { public void onResume() {
super.onResume(); super.onResume();
inputFocus(); inputFocus();
Log.i(TAG, "onResume: " + PreferenceUtil.getInstance(requireContext()).getSongNumber());
} }
@Override @Override

View file

@ -143,7 +143,7 @@ public class PreferenceUtil {
} }
public final int getSimilarItemsNumber() { public final int getSimilarItemsNumber() {
return Integer.parseInt(mPreferences.getString(SIMILAR_ITEMS_NUMBER, "10")); return Integer.parseInt(mPreferences.getString(SIMILAR_ITEMS_NUMBER, "5"));
} }
public final int getSearchElementPerCategory() { public final int getSearchElementPerCategory() {