Added adapitve icon and grid size change forsong

This commit is contained in:
h4h13 2020-03-02 22:56:03 +05:30
parent 929922d228
commit c6fc672cd1
26 changed files with 209 additions and 51 deletions

View file

@ -396,11 +396,9 @@ public final class PreferenceUtil {
.getInt(ALBUM_GRID_SIZE_LAND, context.getResources().getInteger(R.integer.default_grid_columns_land));
}
@LayoutRes
public int getAlbumGridStyle() {
if (mPreferences.contains(ALBUM_GRID_STYLE)) {
Log.i(TAG, "getAlbumGridStyle: " + mPreferences.getInt(ALBUM_GRID_STYLE, -10));
}
return mPreferences.getInt(ALBUM_GRID_STYLE, R.layout.item_grid);
}