Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-Android
Commits
875589ea
Commit
875589ea
authored
Dec 24, 2020
by
Habib Kazemi
Committed by
Nicolas Pomepuy
Jan 04, 2021
Browse files
Set abRepeatReset and abRepeatStop visibility to Gone on toggling abRepeat
Fixes
#1591
parent
f47d9a5c
Pipeline
#54440
passed with stage
in 18 minutes and 45 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
application/vlc-android/src/org/videolan/vlc/PlaybackService.kt
View file @
875589ea
...
...
@@ -1483,7 +1483,11 @@ private object UpdateMeta : CbAction()
fun
PlaybackService
.
manageAbRepeatStep
(
abRepeatReset
:
View
,
abRepeatStop
:
View
,
abRepeatContainer
:
View
,
abRepeatAddMarker
:
TextView
)
{
when
{
playlistManager
.
abRepeatOn
.
value
!=
true
->
abRepeatContainer
.
visibility
=
View
.
GONE
playlistManager
.
abRepeatOn
.
value
!=
true
->
{
abRepeatReset
.
visibility
=
View
.
GONE
abRepeatStop
.
visibility
=
View
.
GONE
abRepeatContainer
.
visibility
=
View
.
GONE
}
playlistManager
.
abRepeat
.
value
?.
start
!=
-
1L
&&
playlistManager
.
abRepeat
.
value
?.
stop
!=
-
1L
->
{
abRepeatReset
.
visibility
=
View
.
VISIBLE
abRepeatStop
.
visibility
=
View
.
VISIBLE
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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