-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Rate Us feature added #1188
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
Rate Us feature added #1188
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1188 +/- ##
=========================================
- Coverage 3.81% 3.81% -0.01%
=========================================
Files 125 125
Lines 5812 5821 +9
Branches 568 568
=========================================
Hits 222 222
- Misses 5575 5584 +9
Partials 15 15
Continue to review full report at Codecov.
|
| case R.id.action_rate: | ||
| drawerLayout.closeDrawer(navigationView); | ||
| final String appPackageName = getPackageName(); | ||
| Toast.makeText(this, appPackageName, Toast.LENGTH_SHORT).show(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Toast not needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was for testing, I will remove it.
| drawerLayout.closeDrawer(navigationView); | ||
| final String appPackageName = getPackageName(); | ||
| Toast.makeText(this, appPackageName, Toast.LENGTH_SHORT).show(); | ||
| try { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest extracting the rate us option logic to a different class(probably Utils). Later on we can have this option plugged in at multiple locations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok I will add a method in Utils.java.
|
@ujjwalagrawal17 based on the discussion in #1187 can you make the changes and put the Rate us feature in the About page instead. :) Sorry, to make you redo the work. |
|
@maskaravivek I had shifted rate us feature from nav drawer to about page. |
|
I suggest making it "Rate us" to be case-coherent with the next line. |
|
Thanks for making the changes @ujjwalagrawal17. Can you resolve the merge conflicts too. :) |
|
@maskaravivek How to resolve Travis-ci build failed issue ? |
|
@ujjwalagrawal17 I guess this error is coming after resolving merge conflicts. You would have incorrectly resolved the errors. :) The travis shows the following error. Please check the xml file. |
|
Thanks @ujjwalagrawal17 ! |

Description
Fixes #1187
Screenshots showing what changed