From 18ad832610d627557fdb59fa6614a5b63fd9895d Mon Sep 17 00:00:00 2001 From: ZetaTom <70907959+ZetaTom@users.noreply.github.com> Date: Fri, 7 Jul 2023 16:27:02 +0200 Subject: [PATCH] Clean up Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com> --- .../java/com/owncloud/android/ui/activity/DrawerActivity.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/main/java/com/owncloud/android/ui/activity/DrawerActivity.java b/app/src/main/java/com/owncloud/android/ui/activity/DrawerActivity.java index 9a38a67cbe..64310307b0 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/DrawerActivity.java +++ b/app/src/main/java/com/owncloud/android/ui/activity/DrawerActivity.java @@ -402,11 +402,8 @@ public abstract class DrawerActivity extends ToolbarActivity private void setDrawerHeaderLogo(Drawable drawable, String serverName) { ImageView imageHeader = mNavigationViewHeader.findViewById(R.id.drawer_header_logo); imageHeader.setImageDrawable(drawable); - imageHeader.setScaleType(ImageView.ScaleType.FIT_START); imageHeader.setAdjustViewBounds(true); - imageHeader.setMaxWidth(DisplayUtils.convertDpToPixel(100f, this)); - if (!TextUtils.isEmpty(serverName)) { TextView serverNameView = mNavigationViewHeader.findViewById(R.id.drawer_header_server_name); serverNameView.setVisibility(View.VISIBLE);