From ed651ac9763df2917c039729e76477be08c77030 Mon Sep 17 00:00:00 2001 From: dakhnod Date: Sun, 21 Jul 2019 17:09:14 +0200 Subject: [PATCH] fixed vibration setting --- .../gadgetbridge/devices/qhybrid/ConfigActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/qhybrid/ConfigActivity.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/qhybrid/ConfigActivity.java index 296786409..e702d0e35 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/qhybrid/ConfigActivity.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/qhybrid/ConfigActivity.java @@ -271,7 +271,7 @@ public class ConfigActivity extends AbstractGBActivity implements ServiceConnect SeekBar seekBar = findViewById(R.id.vibrationStrengthBar); seekBar.setProgress(strengthProgress); }else{ - findViewById(R.id.vibrationStrengthLayout).setEnabled(false); + findViewById(R.id.vibrationStrengthBar).setEnabled(false); findViewById(R.id.vibrationStrengthLayout).setAlpha(0.5f); } }