Commit 655a9805 authored by Nicolas Fella's avatar Nicolas Fella

Fix logic in volumechange

parent f88f2da7
......@@ -265,7 +265,7 @@ public class MprisActivity extends AppCompatActivity {
}
final int currentVolume = targetPlayer.getVolume();
if (currentVolume < 100 || currentVolume > 0) {
if (currentVolume <= 100 && currentVolume >= 0) {
int newVolume = currentVolume + step;
if (newVolume > 100) {
newVolume = 100;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment