Skip to content

Commit 07a40b8

Browse files
author
hongyangAndroid
committed
修复bug~ 判断isPxVal条件写错~
1 parent f4facfa commit 07a40b8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ dependencies {
5959

6060
```
6161
dependencies {
62-
compile 'com.zhy:autolayout:1.3.7'
62+
compile 'com.zhy:autolayout:1.3.8'
6363
}
6464
```
6565

autolayout/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
22
apply plugin: 'com.github.dcendents.android-maven'
33
apply plugin: 'com.jfrog.bintray'
44

5-
version = "1.3.7"
5+
version = "1.3.8"
66

77
android {
88
compileSdkVersion 23

autolayout/src/main/java/com/zhy/autolayout/utils/AutoLayoutHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public static AutoLayoutInfo getAutoLayoutInfo(Context context,
156156
// String val = array.getString(index);
157157
// if (!isPxVal(val)) continue;
158158

159-
if (DimenUtils.isPxVal(array.peekValue(index))) continue;
159+
if (!DimenUtils.isPxVal(array.peekValue(index))) continue;
160160

161161
int pxVal = 0;
162162
try

0 commit comments

Comments
 (0)