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: rate app navigate back to FAQ #2199

Merged
merged 3 commits into from
Jun 4, 2021

Conversation

Abhinavtdk
Copy link
Contributor

Fixes #2198

Changes:
Added a break statement for the case R.id.nav_rate in Main Activity, setUpNavigationView

Screenshot/s for the changes:

Screenrecorder-2021-03-17-22-46-47-717.mp4

Checklist: [Please tick following check boxes with [x] if the respective task is completed]

  • I have used resources from strings.xml, dimens.xml and colors.xml without hard-coding them
  • No modifications done at the end of resource files strings.xml, dimens.xml or colors.xml
  • I have reformatted code in every file included in this PR [CTRL+ALT+L]
  • My code does not contain any extra lines or extra spaces
  • I have requested reviews from other members

APK for testing:

@Abhinavtdk
Copy link
Contributor Author

@CloudyPadmal can you please review the changes?

Copy link
Collaborator

@CloudyPadmal CloudyPadmal left a comment

Choose a reason for hiding this comment

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

This is a fix that's needed. Thanks for the PR.

@CloudyPadmal CloudyPadmal added the Fix Solution to an existing issue in app label Apr 1, 2021
@CloudyPadmal CloudyPadmal changed the title Fixed bug in rate app fix: rate app navigate back to FAQ Apr 1, 2021
Co-authored-by: Padmal <CloudyPadmal@users.noreply.github.com>
@@ -259,11 +259,12 @@ public boolean onNavigationItemSelected(@NonNull MenuItem item) {
navItemIndex = 5;
CURRENT_TAG = TAG_ABOUTUS;
break;
case R.id.nav_rate:
case R.id.nav_rate:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Revert this indentation

@CloudyPadmal CloudyPadmal merged commit f1ef029 into fossasia:development Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Solution to an existing issue in app
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug in Rate App from navigation
2 participants