Skip to content

Commit

Permalink
FIX - Ashok - Fixed the sync single record always showing sync succes…
Browse files Browse the repository at this point in the history
…sful msg
  • Loading branch information
Ashok committed Feb 14, 2013
1 parent 6c924e1 commit c22e20e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ protected Result doInBackground(Params... params) {
@Override
protected void onPostExecute(Result result) {
dialog.dismiss();
int message = result == null ? failureMessage : successMessage;
int message = (result == null || result.equals(false)) ? failureMessage : successMessage;

try {
actualTask.onPostExecute(result);
Expand Down

0 comments on commit c22e20e

Please sign in to comment.