Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavpandey committed Jun 28, 2017
1 parent 33a05cb commit 6e66cfb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ It can be installed by adding the following dependency to your `build.gradle` fi

```groovy
dependencies {
compile 'com.pranavpandey.android:dynamic-utils:0.1.0'
compile 'com.pranavpandey.android:dynamic-utils:0.2.0'
}
```

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ext {
issueUrl = 'https://github.com/pranavpandey/dynamic-utils/issues'

mavenGroup = 'com.pranavpandey.android'
mavenVersion = '0.1.0'
mavenVersion = '0.2.0'
mavenInceptionYear = 2017
mavenArtifactId = 'dynamic-utils'
bintrayRepo = 'android'
Expand All @@ -47,7 +47,7 @@ ext {
licenseDistribution = 'repo'
allLicenses = ["Apache-2.0"]

versionCode = 1
versionCode = 2

buildTools = '25.0.3'
minSdk = 9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ public static Point getRealScreenSize(@NonNull Context context) {
* @return {@code true} if navigation bar theme is supported.
*/
public static boolean isNavigationBarThemeSupported(@NonNull Context context) {
return DynamicVersionUtils.isLollipop() && !getNavigationBarSize(context).equals(0, 0);
return DynamicVersionUtils.isLollipop()
&& !getNavigationBarSize(context).equals(0, 0);
}
}

0 comments on commit 6e66cfb

Please sign in to comment.