mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Merge "Avoid drawing the contrast tile on empty text" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
9531c19ba3
@@ -980,7 +980,7 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
|
||||
public boolean shouldDrawAppContrastTile() {
|
||||
return mDisplay == DISPLAY_WORKSPACE && shouldTextBeVisible()
|
||||
&& PillColorProvider.getInstance(getContext()).isMatchaEnabled()
|
||||
&& enableContrastTiles();
|
||||
&& enableContrastTiles() && TextUtils.isEmpty(getText());
|
||||
}
|
||||
|
||||
public void setTextVisibility(boolean visible) {
|
||||
|
||||
Reference in New Issue
Block a user