mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-04 16:23:08 +00:00
Removed unused preferences
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user