Skip to content

Commit

Permalink
2.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
William Mora committed Dec 18, 2014
1 parent 7c62c91 commit 28790df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Works on API levels >= 8
You can import the library from source as a module or grab via Gradle:
<br />
```groovy
compile 'com.nispok:snackbar:2.5.4'
compile 'com.nispok:snackbar:2.5.5'
```
## Usage
<br />
Expand Down
2 changes: 1 addition & 1 deletion lib/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ POM_NAME=Snackbar
POM_ARTIFACT_ID=snackbar
POM_PACKAGING=aar
GROUP=com.nispok
VERSION_NAME=2.5.4
VERSION_NAME=2.5.5

POM_DESCRIPTION=Snackbar Android library
POM_URL=https://github.com/nispok/snackbar
Expand Down
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 @@ -441,7 +441,7 @@ public void show(Activity targetActivity) {

ViewGroup root = (ViewGroup) targetActivity.findViewById(android.R.id.content);

if (!isNavigationBarHidden(root)) {
if (isNavigationBarHidden(root)) {
Resources resources = getResources();
int resourceId = resources.getIdentifier("navigation_bar_height", "dimen", "android");
if (resourceId > 0) {
Expand Down

0 comments on commit 28790df

Please sign in to comment.