1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-29 19:20:36 +02:00

Reset checked state in disableShiftMode

Fixes #194.
This commit is contained in:
Erik Johansson
2018-02-18 21:06:55 +01:00
parent 47edce86b7
commit ecc416e9b8

View File

@@ -513,7 +513,7 @@ public class MainActivity extends AppCompatActivity {
item.setPadding(0, 20, 0, 0); item.setPadding(0, 20, 0, 0);
// set once again checked value, so view will be updated // set once again checked value, so view will be updated
//noinspection RestrictedApi //noinspection RestrictedApi
//item.setChecked(item.getItemData().isChecked()); item.setChecked(item.getItemData().isChecked());
} }
} catch (NoSuchFieldException e) { } catch (NoSuchFieldException e) {
Log.e("BNVHelper", "Unable to get shift mode field", e); Log.e("BNVHelper", "Unable to get shift mode field", e);