Skip to content

Commit

Permalink
Actually show these Toast notifications
Browse files Browse the repository at this point in the history
Signed-off-by: Eddie Ringle <eddie@eringle.net>
  • Loading branch information
EddieRingle committed Apr 6, 2010
1 parent 3d35b9e commit 6578408
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/org/idlesoft/android/hubroid/IssuesList.java
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public boolean onContextItemSelected(MenuItem item) {
m_thread = new Thread(null, threadProc_initializeList);
m_thread.start();
} else {
Toast.makeText(getApplicationContext(), "Error closing issue.", Toast.LENGTH_SHORT);
Toast.makeText(getApplicationContext(), "Error closing issue.", Toast.LENGTH_SHORT).show();
}
return true;
case 2:
Expand All @@ -205,7 +205,7 @@ public boolean onContextItemSelected(MenuItem item) {
m_thread = new Thread(null, threadProc_initializeList);
m_thread.start();
} else {
Toast.makeText(getApplicationContext(), "Error reopening issue.", Toast.LENGTH_SHORT);
Toast.makeText(getApplicationContext(), "Error reopening issue.", Toast.LENGTH_SHORT).show();
}
return true;
default:
Expand Down
2 changes: 1 addition & 1 deletion src/org/idlesoft/android/hubroid/SingleIssue.java
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ public void run() {
}
});
} else {
Toast.makeText(getApplicationContext(), "Error posting comment.", Toast.LENGTH_SHORT);
Toast.makeText(getApplicationContext(), "Error posting comment.", Toast.LENGTH_SHORT).show();
}
} catch (JSONException e) {
e.printStackTrace();
Expand Down

0 comments on commit 6578408

Please sign in to comment.