diff --git a/app/src/main/java/nl/hnogames/domoticz/adapters/SwitchesAdapter.java b/app/src/main/java/nl/hnogames/domoticz/adapters/SwitchesAdapter.java index d9da38ed..d6b9ca67 100644 --- a/app/src/main/java/nl/hnogames/domoticz/adapters/SwitchesAdapter.java +++ b/app/src/main/java/nl/hnogames/domoticz/adapters/SwitchesAdapter.java @@ -972,10 +972,8 @@ private void setPushOnOffSwitchRowData(DevicesInfo mDeviceInfo, DataObjectHolder if (action) { holder.buttonOn.setText(context.getString(R.string.button_state_on)); - //holder.buttonOn.setBackground(ContextCompat.getDrawable(context, R.drawable.button_on)); } else { holder.buttonOn.setText(context.getString(R.string.button_state_off)); - //holder.buttonOn.setBackground(ContextCompat.getDrawable(context, R.drawable.button_off)); } holder.buttonOn.setOnClickListener(v -> { @@ -1023,12 +1021,12 @@ private void setBlindsRowData(final DevicesInfo mDeviceInfo, holder.buttonUp.setTag(mDeviceInfo); holder.buttonUp.setOnClickListener(view -> { - handleBlindsClick((DevicesInfo) view.getTag(), DomoticzValues.Device.Blind.Action.CLOSE); + handleBlindsClick((DevicesInfo) view.getTag(), DomoticzValues.Device.Blind.Action.OPEN); }); holder.buttonStop.setTag(mDeviceInfo); holder.buttonStop.setOnClickListener(view -> { - handleBlindsClick((DevicesInfo) view.getTag(), DomoticzValues.Device.Blind.Action.CLOSE); + handleBlindsClick((DevicesInfo) view.getTag(), DomoticzValues.Device.Blind.Action.STOP); }); holder.buttonDown.setTag(mDeviceInfo); diff --git a/app/version.properties b/app/version.properties index af1e97ca..6546d88c 100644 --- a/app/version.properties +++ b/app/version.properties @@ -1,4 +1,4 @@ -#Tue Feb 13 14:43:51 CET 2024 -VERSION_BUILD=9453 +#Mon Apr 01 20:03:45 CEST 2024 +VERSION_BUILD=9455 VERSION_CODE=687 VERSION_PATCH=370 diff --git a/domoticzapi/version.properties b/domoticzapi/version.properties index f092630e..db059c12 100644 --- a/domoticzapi/version.properties +++ b/domoticzapi/version.properties @@ -1,4 +1,4 @@ -#Tue Feb 13 14:43:51 CET 2024 +#Mon Apr 01 20:03:46 CEST 2024 VERSION_BUILD=3675 VERSION_CODE=254 VERSION_PATCH=254