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 Jun 12, 2023
1 parent d97cadc commit ef439f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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
3 changes: 0 additions & 3 deletions app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="splash_image_size">116dp</dimen>
<dimen name="grid_recyclerview_padding">4dp</dimen>
<dimen name="list_item_icons_size">16dp</dimen>
<dimen name="grid_item_icons_size">24dp</dimen>
<dimen name="media_grid_item_rv_spacing">6dp</dimen>
<dimen name="txt_size_14sp">14sp</dimen>
<dimen name="txt_size_16sp">16sp</dimen>
<dimen name="txt_size_18sp">18sp</dimen>
<dimen name="txt_size_15sp">15sp</dimen>
<dimen name="crop_corner_size">15dp</dimen>
Expand Down

0 comments on commit ef439f7

Please sign in to comment.