From 095dd30f710c71d1ee8f33403feca0861c139687 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sun, 1 Mar 2020 19:26:32 +0800 Subject: Still prepare to support multiple themes. --- .../infinityforreddit/Activity/ViewUserDetailActivity.java | 7 ------- 1 file changed, 7 deletions(-) (limited to 'app/src/main/java/ml') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewUserDetailActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewUserDetailActivity.java index 6a76dad8..a71b2c71 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewUserDetailActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewUserDetailActivity.java @@ -190,13 +190,6 @@ public class ViewUserDetailActivity extends BaseActivity implements SortTypeSele Resources resources = getResources(); - //Get status bar height - int statusBarHeight = 0; - int resourceId = resources.getIdentifier("status_bar_height", "dimen", "android"); - if (resourceId > 0) { - statusBarHeight = resources.getDimensionPixelSize(resourceId); - } - adjustToolbar(toolbar); String title = "u/" + username; -- cgit v1.2.3