Skip to content

Commit

Permalink
Update and prepare to release v1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mthli committed Jun 21, 2015
1 parent 8e42837 commit 420e212
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 64 deletions.
109 changes: 52 additions & 57 deletions Ninja/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions Ninja/src/io/github/mthli/Ninja/Activity/BrowserActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -425,16 +425,18 @@ public void onSwipe() {
}

@Override
public void onBound(boolean left) {
public void onBound(boolean canSwitch, boolean left) {
inputBox.setKeyListener(keyListener);
inputBox.setFocusable(true);
inputBox.setFocusableInTouchMode(true);
inputBox.setInputType(InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS);
inputBox.clearFocus();

AlbumController controller = nextAlbumController(left);
showAlbum(controller, false, false, true);
NinjaToast.show(BrowserActivity.this, controller.getAlbumTitle());
if (canSwitch) {
AlbumController controller = nextAlbumController(left);
showAlbum(controller, false, false, true);
NinjaToast.show(BrowserActivity.this, controller.getAlbumTitle());
}
}
}));

Expand Down
Loading

0 comments on commit 420e212

Please sign in to comment.