Skip to content

Commit

Permalink
navBar is never hidden for APIs < JB. Fixes #57
Browse files Browse the repository at this point in the history
  • Loading branch information
William Mora committed Dec 28, 2014
1 parent 7da39d4 commit 0cd971b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/main/java/com/nispok/snackbar/Snackbar.java
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ private boolean isIndefiniteDuration() {
private boolean isNavigationBarHidden(ViewGroup root) {

if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN) {
return true;
return false;
}

int viewFlags = root.getWindowSystemUiVisibility();
Expand Down

0 comments on commit 0cd971b

Please sign in to comment.