Changed classic theme

This commit is contained in:
Hemanth S 2020-05-14 22:18:45 +05:30
parent aca99f4182
commit d634e718d3
2 changed files with 2 additions and 6 deletions

View file

@ -24,7 +24,6 @@ import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.net.Uri;
import android.preference.PreferenceManager;
import android.util.Log;
import androidx.annotation.LayoutRes;
import androidx.annotation.NonNull;
@ -419,14 +418,11 @@ public final class PreferenceUtil {
@LayoutRes
public int getArtistGridStyle() {
if (mPreferences.contains(ARTIST_GRID_STYLE)) {
Log.i(TAG, "getArtistGridStyle: " + mPreferences.getInt(ARTIST_GRID_STYLE, -10));
}
return mPreferences.getInt(ARTIST_GRID_STYLE, R.layout.item_grid);
}
public void setArtistGridStyle(int viewAs) {
mPreferences.edit().putInt(ARTIST_GRID_STYLE, viewAs).apply();
public void setArtistGridStyle(@LayoutRes int artistGridStyle) {
mPreferences.edit().putInt(ARTIST_GRID_STYLE, artistGridStyle).apply();
}
public final String getArtistSongSortOrder() {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 87 KiB