Skip to content

Commit

Permalink
Merge pull request #1502 from robustTechie/toastSucessful
Browse files Browse the repository at this point in the history
fix: No successful Toast for Sync Survey
  • Loading branch information
AbhilashG97 authored Jul 28, 2020
2 parents ce09979 + 264a7cc commit 7b14da2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(), R.string.sync_success, Toast.LENGTH_SHORT).show();
}

@Override
Expand Down
1 change: 1 addition & 0 deletions mifosng-android/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,7 @@
<string name="document_dialog_fragment_loading_message">Uploading document</string>
<string name="data_table_row_dialog_loading_message">Adding entry to database</string>
<string name="savings_account_approval_fragment_loading_message">Approving savings account</string>
<string name="sync_success">Successfully Synced</string>

<string name="Image_Upload_Successful">Image Upload Successful</string>
<string name="Image_Upload_Failed">Image Upload Failed</string>
Expand Down

0 comments on commit 7b14da2

Please sign in to comment.