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

Fix#1182 #1190

Merged
merged 1 commit into from
Feb 9, 2022
Merged

Fix#1182 #1190

merged 1 commit into from
Feb 9, 2022

Conversation

EGOR-IND
Copy link
Contributor

Issue Fix

Fixes #1182

Screenshots

WhatsApp.Video.2021-01-29.at.22.32.22.mp4

Description

enhanced the transition between view and edit state of SI Details activity.

  • 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.

@EGOR-IND
Copy link
Contributor Author

@devansh-299 review this one, and also please give your thoughts about issue #1183.

@EGOR-IND
Copy link
Contributor Author

EGOR-IND commented Feb 1, 2021

@devansh-299 review this when you're free.

dialog.dismiss()
finish()
editDetails(false);
Copy link
Collaborator

Choose a reason for hiding this comment

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

please remove ; xD, also why removing finish() and making effort to re-set the textviews when we simply need to exit the activity on clicking accept

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oooh sorry for that I got with the flow of java I made this mistake several times during this, I think I left one here😄, I'll resolve it in few minutes.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@EGOR-IND can you explain the reasoning behind the re-setting of textviews before exiting and removing the finish() line, I might be missing something.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, for sure, the reason why i removed finish() from the positive button of dialog box is that it was directly exiting the activity, which was the whole purpose of this PR making the exiting experience more better, so when user accept discarding changes then they will first go to the read only version of activity and then they can exit. You can see what my changes are doing from the video😊.

@EGOR-IND
Copy link
Contributor Author

EGOR-IND commented Feb 4, 2021

sergeant @devansh-299, made the changes you requested sir, review this sir, over n out XD.

@devansh-299 devansh-299 merged commit b5df833 into openMF:dev Feb 9, 2022
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.

The SI Details activity is not working in a good manner.
2 participants