Skip to content

Commit

Permalink
fix: 修复无法设置zM1间隔时间的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
a2633063 committed Feb 15, 2020
1 parent 2d2c6a1 commit e879b54
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ android {
applicationId "com.zyc.zcontrol"
minSdkVersion 21
targetSdkVersion 28
versionCode 30
versionName "v0.13.2"
versionCode 31
versionName "v0.13.3"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
Binary file modified app/release/app-release.apk
Binary file not shown.
2 changes: 1 addition & 1 deletion app/release/output.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":30,"versionName":"v0.13.2","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":31,"versionName":"v0.13.3","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public boolean onPreferenceChange(Preference preference, Object newValue) {
int val = Integer.parseInt((String) newValue);

if (val > 0 && val <= 255) {
Send("{\"mac\":\"" + device_mac + "\",\"setting\":{\"interval\":" + (String) newValue + "}}");
Send("{\"mac\":\"" + device_mac + "\",\"interval\":" + (String) newValue + "}");
} else {
Toast.makeText(getActivity(), "输入有误!范围1-255", Toast.LENGTH_SHORT).show();
}
Expand Down

0 comments on commit e879b54

Please sign in to comment.