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: No successful Toast for Sync Survey #1502

Merged
merged 1 commit into from
Jul 28, 2020

Conversation

iamsh4shank
Copy link
Member

Fixes #1489

Please Add Screenshots If there are any UI changes.

toastinsurvey

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Apply the MifosStyle.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.

@@ -206,7 +206,8 @@ public void showNetworkIsNotAvailable() {
@Override
public void showSurveysSyncSuccessfully() {
btnCancel.setVisibility(View.INVISIBLE);
btnHide.setText(getResources().getString(R.string.dialog_action_ok));
dismissDialog();
Toast.makeText(getActivity(), "Sucessfully Synced", Toast.LENGTH_SHORT).show();

Choose a reason for hiding this comment

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

Use dynamic string, please :)

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok

Copy link
Member

Choose a reason for hiding this comment

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

@robustTechie, please don't use hardcoded text, can you please update your pull request? (^_^)

Copy link
Member Author

Choose a reason for hiding this comment

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

@robustTechie, please don't use hardcoded text, can you please update your pull request? (^_^)

Done

@AbhilashG97 AbhilashG97 merged commit 7b14da2 into openMF:master Jul 28, 2020
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.

No successful Toast for Sync Survey
3 participants