[go: nahoru, domu]

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

Added Pulltorefresh library #50

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
removed unwanted methods
  • Loading branch information
aagam-shah committed Aug 31, 2013
commit fe6675f56b2d8ef047c5bfd7fa147b25849d7938
6 changes: 1 addition & 5 deletions src/org/wordpress/android/ui/posts/PostsActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -318,11 +318,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
@Override
public boolean onOptionsItemSelected(final MenuItem item) {
int itemId = item.getItemId();
if (itemId == R.id.menu_refresh) {
checkForLocalChanges(true);
new ApiHelper.RefreshBlogContentTask(this, WordPress.currentBlog).execute(false);
return true;
} else if (itemId == R.id.menu_new_post) {
if (itemId == R.id.menu_new_post) {
Intent i = new Intent(this, EditPostActivity.class);
i.putExtra("id", WordPress.currentBlog.getId());
i.putExtra("isNew", true);
Expand Down