mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-29 05:16:51 +01:00
fixed vibration setting
This commit is contained in:
parent
62feefb67e
commit
ed651ac976
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user