From 10233c1d12282abd8144801c2407586c7080cf08 Mon Sep 17 00:00:00 2001 From: Dmitry Yunitsky Date: Fri, 15 Apr 2016 18:23:43 +0300 Subject: [PATCH] [android] Review fix. --- .../src/com/mapswithme/maps/editor/ProfileFragment.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/android/src/com/mapswithme/maps/editor/ProfileFragment.java b/android/src/com/mapswithme/maps/editor/ProfileFragment.java index d69950826d..4606a17b8f 100644 --- a/android/src/com/mapswithme/maps/editor/ProfileFragment.java +++ b/android/src/com/mapswithme/maps/editor/ProfileFragment.java @@ -37,15 +37,15 @@ public class ProfileFragment extends AuthFragment implements View.OnClickListene { mLogout = mToolbarController.findViewById(R.id.logout); mLogout.setOnClickListener(this); - View mEditsBlock = view.findViewById(R.id.block_edits); - UiUtils.show(mEditsBlock); - final View localEdits = mEditsBlock.findViewById(R.id.local_edits); + View editsBlock = view.findViewById(R.id.block_edits); + UiUtils.show(editsBlock); + final View localEdits = editsBlock.findViewById(R.id.local_edits); ((ImageView) localEdits.findViewById(R.id.image)).setImageResource(R.drawable.ic_device); mEditsLocal = (TextView) localEdits.findViewById(R.id.title); mEditsMore = localEdits.findViewById(R.id.more); mEditsMore.setOnClickListener(this); UiUtils.hide(localEdits.findViewById(R.id.subtitle), localEdits.findViewById(R.id.more)); - final View sentEdits = mEditsBlock.findViewById(R.id.sent_edits); + final View sentEdits = editsBlock.findViewById(R.id.sent_edits); ((ImageView) sentEdits.findViewById(R.id.image)).setImageResource(R.drawable.ic_upload); mEditsSent = (TextView) sentEdits.findViewById(R.id.title); mEditsSentDate = (TextView) sentEdits.findViewById(R.id.subtitle);