mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Removed unused preferences
This commit is contained in:
parent
ead5346f1b
commit
01785b7bed
2 changed files with 1 additions and 3 deletions
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue