Skip to content

Commit

Permalink
user SMTHApp.static variables as Intent name
Browse files Browse the repository at this point in the history
  • Loading branch information
zfdang committed Apr 4, 2016
1 parent 216fc8b commit 303e609
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public boolean onOptionsItemSelected(MenuItem item) {
} else if(id == R.id.post_list_action_enter_board) {
Board board = new Board("", mTopic.getBoardChsName(), mTopic.getBoardEngName());
Intent intent = new Intent(this, BoardTopicActivity.class);
intent.putExtra("board_object", (Parcelable)board);
intent.putExtra(SMTHApplication.BOARD_OBJECT, (Parcelable)board);
startActivity(intent);
}
return super.onOptionsItemSelected(item);
Expand Down

0 comments on commit 303e609

Please sign in to comment.