Revert commits d2f4294a & 7c618e01

This commit is contained in:
Patryk Michalik
2022-07-17 19:07:10 +02:00
parent f218d6ee3f
commit 7767d76320
16 changed files with 97 additions and 104 deletions

View File

@@ -43,6 +43,8 @@ import com.android.launcher3.model.data.ItemInfo;
import com.android.launcher3.util.Themes;
import app.lawnchair.theme.color.ColorTokens;
import app.lawnchair.theme.drawable.DrawableToken;
import app.lawnchair.theme.drawable.DrawableTokens;
/**
* Implements a DropTarget.
@@ -100,6 +102,7 @@ public abstract class ButtonDropTarget extends TextView
super.onFinishInflate();
mText = getText();
setContentDescription(mText);
setBackground(DrawableTokens.DropTargetBackground.resolve(getContext()));
setTextColor();
}