updated version to 1.0.1
This commit is contained in:
@@ -40,8 +40,8 @@ android {
|
|||||||
applicationId "com.idlegandalf.ledd"
|
applicationId "com.idlegandalf.ledd"
|
||||||
minSdkVersion 17
|
minSdkVersion 17
|
||||||
targetSdkVersion 23
|
targetSdkVersion 23
|
||||||
versionCode 1
|
versionCode 2
|
||||||
versionName "1.0"
|
versionName "1.0.1"
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
@@ -291,7 +291,6 @@ public class ColorActivity extends AppCompatActivity implements NavigationView.O
|
|||||||
Snackbar.make(findViewById(android.R.id.content), "LED stripes reloaded", Snackbar.LENGTH_LONG).show();
|
Snackbar.make(findViewById(android.R.id.content), "LED stripes reloaded", Snackbar.LENGTH_LONG).show();
|
||||||
|
|
||||||
for (LedStripe stripe : ledStripes) {
|
for (LedStripe stripe : ledStripes) {
|
||||||
System.out.println("now on stripe " + stripe.getName());
|
|
||||||
MenuItem sItem = nDaemonMenu.add(stripeGroup, View.generateViewId(), stripe.getId(), stripe.getName());
|
MenuItem sItem = nDaemonMenu.add(stripeGroup, View.generateViewId(), stripe.getId(), stripe.getName());
|
||||||
sItem.setIcon(R.drawable.ic_wb_iridescent_black_48dp);
|
sItem.setIcon(R.drawable.ic_wb_iridescent_black_48dp);
|
||||||
}
|
}
|
||||||
|
@@ -144,7 +144,6 @@ public class LedDHelper {
|
|||||||
@Override
|
@Override
|
||||||
public void onResponse(JSONObject response) {
|
public void onResponse(JSONObject response) {
|
||||||
try {
|
try {
|
||||||
System.out.println("got resp: " + response.toString());
|
|
||||||
if (response.getBoolean("success")) {
|
if (response.getBoolean("success")) {
|
||||||
ledDDaemon.getControllers().clear();
|
ledDDaemon.getControllers().clear();
|
||||||
List<LedStripe> list = new ArrayList<>();
|
List<LedStripe> list = new ArrayList<>();
|
||||||
|
Reference in New Issue
Block a user