1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-01 14:32:54 +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 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);
} }
} }