Skip to content

Commit

Permalink
Drawer UI Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
surinder-tsys committed May 18, 2023
1 parent d97cadc commit e678ad7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ private void setupQuotaElement() {
mQuotaTextPercentage = (TextView) findQuotaViewById(R.id.drawer_quota_percentage);
mQuotaTextUsage = (AppCompatTextView) mNavigationView.findViewById(R.id.drawer_quota_usage);
mQuotaTextLink = (TextView) findQuotaViewById(R.id.drawer_quota_link);
viewThemeUtils.material.colorProgressBar(mQuotaProgressBar);
viewThemeUtils.material.colorProgressBar(mQuotaProgressBar, getResources().getColor(R.color.primary));
}

/**
Expand Down Expand Up @@ -600,7 +600,7 @@ private void setQuotaInformation(long usedSpace, long totalSpace, int relative,
getString(R.string.drawer_quota_percentage), relative));

if (relative < RELATIVE_THRESHOLD_WARNING) {
viewThemeUtils.material.colorProgressBar(mQuotaProgressBar);
viewThemeUtils.material.colorProgressBar(mQuotaProgressBar, getResources().getColor(R.color.primary));
} else {
viewThemeUtils.material.colorProgressBar(mQuotaProgressBar,
getResources().getColor(R.color.infolevel_warning));
Expand Down

0 comments on commit e678ad7

Please sign in to comment.