1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-29 13:26:50 +01:00

fixed vibration setting

This commit is contained in:
dakhnod 2019-07-21 17:09:14 +02:00
parent 62feefb67e
commit ed651ac976

View File

@ -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);
}
}