mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
Apply color changes for folder
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local> Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
4b35088377
commit
bbea0e00d0
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,7 @@ import android.os.Parcelable;
|
|||
import android.text.TextUtils;
|
||||
import android.view.Gravity;
|
||||
|
||||
import com.nextcloud.android.common.ui.theme.utils.ColorRole;
|
||||
import com.owncloud.android.R;
|
||||
import com.owncloud.android.lib.common.network.WebdavEntry;
|
||||
import com.owncloud.android.lib.common.network.WebdavUtils;
|
||||
|
@ -650,6 +651,7 @@ public class OCFile implements Parcelable, Comparable<OCFile>, ServerFileInterfa
|
|||
|
||||
public LayerDrawable getFileLayerDrawable(boolean isAutoUploadFolder, Context context, ViewThemeUtils viewThemeUtils) {
|
||||
Drawable folderDrawable = ContextCompat.getDrawable(context, R.drawable.folder);
|
||||
viewThemeUtils.platform.tintDrawable(context, folderDrawable, ColorRole.PRIMARY);
|
||||
|
||||
int overlayIconId;
|
||||
if (WebdavEntry.MountType.GROUP == mountType || isGroupFolder()) {
|
||||
|
|
Loading…
Reference in a new issue