mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Port font manager from v10
This commit is contained in:
@@ -68,6 +68,7 @@ import com.android.launcher3.views.IconLabelDotView;
|
||||
|
||||
import java.text.NumberFormat;
|
||||
|
||||
import app.lawnchair.font.FontManager;
|
||||
import app.lawnchair.util.LawnchairUtilsKt;
|
||||
|
||||
/**
|
||||
@@ -187,6 +188,7 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
|
||||
// widget_selection or shortcut_popup
|
||||
defaultIconSize = grid.iconSizePx;
|
||||
}
|
||||
FontManager.INSTANCE.get(context).overrideFont(this, attrs);
|
||||
|
||||
mCenterVertically = a.getBoolean(R.styleable.BubbleTextView_centerVertically, false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user