Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KDE Connect Android
Commits
655a9805
Commit
655a9805
authored
Mar 30, 2019
by
Nicolas Fella
Browse files
Fix logic in volumechange
parent
f88f2da7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisActivity.java
View file @
655a9805
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment