mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-29 13:26:50 +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 seekBar = findViewById(R.id.vibrationStrengthBar);
|
||||||
seekBar.setProgress(strengthProgress);
|
seekBar.setProgress(strengthProgress);
|
||||||
}else{
|
}else{
|
||||||
findViewById(R.id.vibrationStrengthLayout).setEnabled(false);
|
findViewById(R.id.vibrationStrengthBar).setEnabled(false);
|
||||||
findViewById(R.id.vibrationStrengthLayout).setAlpha(0.5f);
|
findViewById(R.id.vibrationStrengthLayout).setAlpha(0.5f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user