Skip to content

Commit

Permalink
Fix Header Clock custom font
Browse files Browse the repository at this point in the history
  • Loading branch information
DHD2280 committed May 10, 2024
1 parent 6b0c30c commit 16babf4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ public class HeaderClock extends XposedMods {
private UserManager mUserManager;

LinearLayout mQsClockContainer = new LinearLayout(mContext);
private TextView mOplusClock = null;
private TextView mOplusDate = null;
private TextView mOplusCarrier = null;
private static TextView mOplusClock = null;
private static TextView mOplusDate = null;
private static TextView mOplusCarrier = null;

// Custom Clock Prefs
private boolean showHeaderClock = false;
Expand Down Expand Up @@ -771,7 +771,7 @@ private void modifyClockView(View clockView) {
float clockScale = Xprefs.getSliderFloat(QS_HEADER_CLOCK_TEXT_SCALING, 1.0f);
int sideMargin = Xprefs.getSliderInt(QS_HEADER_CLOCK_LEFT_MARGIN, 0);
int topMargin = Xprefs.getSliderInt(QS_HEADER_CLOCK_TOP_MARGIN, 8);
String customFont = Environment.getExternalStorageDirectory() + "/.oxygencustomizer_files/headerclock_font.ttf";
String customFont = Environment.getExternalStorageDirectory() + "/.oxygencustomizer_files/header_clock_font.ttf";
int mAccent = getPrimaryColor(mContext);
boolean customColor = Xprefs.getBoolean(QS_HEADER_CLOCK_CUSTOM_COLOR_SWITCH, false);
boolean nightMode = mContext.getResources().getConfiguration().isNightModeActive();
Expand Down

0 comments on commit 16babf4

Please sign in to comment.