From ecc416e9b8878c3f04cbb70e03c68cbd948f32f0 Mon Sep 17 00:00:00 2001 From: Erik Johansson Date: Sun, 18 Feb 2018 21:06:55 +0100 Subject: [PATCH] Reset checked state in disableShiftMode Fixes #194. --- .../src/main/java/com/health/openscale/gui/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android_app/app/src/main/java/com/health/openscale/gui/MainActivity.java b/android_app/app/src/main/java/com/health/openscale/gui/MainActivity.java index 367dabf8..2c5b5d31 100644 --- a/android_app/app/src/main/java/com/health/openscale/gui/MainActivity.java +++ b/android_app/app/src/main/java/com/health/openscale/gui/MainActivity.java @@ -513,7 +513,7 @@ public class MainActivity extends AppCompatActivity { item.setPadding(0, 20, 0, 0); // set once again checked value, so view will be updated //noinspection RestrictedApi - //item.setChecked(item.getItemData().isChecked()); + item.setChecked(item.getItemData().isChecked()); } } catch (NoSuchFieldException e) { Log.e("BNVHelper", "Unable to get shift mode field", e);