Skip to content

Commit c76e041

Browse files
committed
fix: lint error
Signed-off-by: mykh-hailo <kristianderonta0205@gmail.com>
1 parent a15915f commit c76e041

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

app/src/main/java/com/owncloud/android/ui/activity/DrawerActivity.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -459,10 +459,10 @@ private void setupQuotaElement() {
459459
}
460460

461461
private void setupSidebarQuotaElement() {
462-
mSidebarQuotaView = (LinearLayout) findSidebarQuotaViewById(R.id.drawer_quota);
463-
mSidebarQuotaProgressBar = (LinearProgressIndicator) findSidebarQuotaViewById(R.id.drawer_quota_ProgressBar);
464-
mSidebarQuotaTextPercentage = (TextView) findSidebarQuotaViewById(R.id.drawer_quota_percentage);
465-
mSidebarQuotaTextLink = (TextView) findSidebarQuotaViewById(R.id.drawer_quota_link);
462+
mSidebarQuotaView = (LinearLayout) findSidebarQuotaViewById(R.id.sidebar_quota);
463+
mSidebarQuotaProgressBar = (LinearProgressIndicator) findSidebarQuotaViewById(R.id.sidebar_quota_ProgressBar);
464+
mSidebarQuotaTextPercentage = (TextView) findSidebarQuotaViewById(R.id.sidebar_quota_percentage);
465+
mSidebarQuotaTextLink = (TextView) findSidebarQuotaViewById(R.id.sidebar_quota_link);
466466
viewThemeUtils.material.colorProgressBar(mSidebarQuotaProgressBar, ColorRole.PRIMARY);
467467
mSidebarQuotaProgressBar.setTrackStopIndicatorSize(0);
468468
viewThemeUtils.platform.colorViewBackground(mSidebarQuotaView);

app/src/main/res/layout/sidebar.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
app:menu="@menu/partial_drawer_entries">
2323

2424
<LinearLayout
25-
android:id="@+id/drawer_quota"
25+
android:id="@+id/sidebar_quota"
2626
android:layout_width="match_parent"
2727
android:layout_height="wrap_content"
2828
android:layout_gravity="bottom"
@@ -37,13 +37,13 @@
3737
tools:visibility="visible">
3838

3939
<TextView
40-
android:id="@+id/drawer_quota_link"
40+
android:id="@+id/sidebar_quota_link"
4141
android:layout_width="match_parent"
4242
android:layout_height="wrap_content"
4343
android:drawablePadding="@dimen/alternate_half_padding" />
4444

4545
<com.google.android.material.progressindicator.LinearProgressIndicator
46-
android:id="@+id/drawer_quota_ProgressBar"
46+
android:id="@+id/sidebar_quota_ProgressBar"
4747
android:layout_width="match_parent"
4848
android:layout_height="wrap_content"
4949
android:indeterminate="false"
@@ -54,7 +54,7 @@
5454
tools:progress="50" />
5555

5656
<com.google.android.material.textview.MaterialTextView
57-
android:id="@+id/drawer_quota_percentage"
57+
android:id="@+id/sidebar_quota_percentage"
5858
android:layout_width="match_parent"
5959
android:layout_height="wrap_content"
6060
android:drawablePadding="@dimen/alternate_half_padding"

0 commit comments

Comments
 (0)