Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed Profile picture edit button from Profile Fragment #1162

Closed
wants to merge 1 commit into from

Conversation

kartikeytyagi15
Copy link

@kartikeytyagi15 kartikeytyagi15 commented Jan 15, 2021

Fixes #1158 : Removed profile picture edit button from profile fragment.

Screenshot_2021-01-15-14-41-17-379_org mifos mobilewallet mifospay
Screenshot_2021-01-15-14-41-22-412_org mifos mobilewallet mifospay

  • Apply the AndroidStyle.xml style template to your code in Android Studio.

  • Run the unit tests with ./gradlew check to make sure you didn't break anything

  • If you have multiple commits please combine them into one commit by squashing them.

@@ -144,6 +144,8 @@ public void showProfile(Client client) {
.width((int) getResources().getDimension(R.dimen.user_profile_image_size))
.height((int) getResources().getDimension(R.dimen.user_profile_image_size))
.endConfig().buildRound(client.getName().substring(0, 1), R.color.colorAccentBlack);
ImageView editableImageHint=getView().findViewById(R.id.iv_editable_image_hint);
editableImageHint.setVisibility(View.INVISIBLE);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one, as I expected, but you didn't checked the ./gradlew check requirement. You should do run that command in your android studio terminal, it helps you to check whether your code style is according to the project style but your changes already passed that test on github PR, so no worries, but keep in mind from now that you run "./gradlew check" command before performing commit because many PR's get stuck in checkstyle test and then you have to make a new commit and squash it, so it's better to do it in first attempt. At last just want to say good on I approve it.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay, thanks for the suggestion and review.

Copy link
Contributor

@EGOR-IND EGOR-IND left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine by me

@Prashant830
Copy link
Contributor

@devansh-299 please merge it.

@@ -144,6 +144,8 @@ public void showProfile(Client client) {
.width((int) getResources().getDimension(R.dimen.user_profile_image_size))
.height((int) getResources().getDimension(R.dimen.user_profile_image_size))
.endConfig().buildRound(client.getName().substring(0, 1), R.color.colorAccentBlack);
ImageView editableImageHint=getView().findViewById(R.id.iv_editable_image_hint);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Space before and after = is missing, this will lead to failure in lint checks

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kartikeytyagi15 are u still able to added these mention changes in your PR's commit

Copy link
Contributor

@Prashant830 Prashant830 Aug 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kartikeytyagi15, @EGOR-IND I think u guys are not able to solves these changes at this time, So Now I am generated new Pr for this particular issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove Profile Pic edit btn from profile fragment
6 participants