Skip to content

Commit

Permalink
Update SelectSkipAction.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
AbandonedCart authored Oct 12, 2024
1 parent e949c2e commit 611e19a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ class SelectSkipAction(
userPreferences: UserPreferences
) : CustomAction(context, customPlaybackTransportControlGlue) {
private val preferences = userPreferences
private val customPlaybackTransportControlGlue1 = customPlaybackTransportControlGlue

private val SegmentMode.icon: Int
get() = when (this) {
Expand Down Expand Up @@ -53,7 +52,7 @@ class SelectSkipAction(
preferences[UserPreferences.skipMode] = SegmentMode.entries[item.itemId]

initializeWithIcon(preferences[UserPreferences.skipMode].icon)
customPlaybackTransportControlGlue1.notifyActionChanged(this@SelectSkipAction)
customPlaybackTransportControlGlue.notifyActionChanged(this@SelectSkipAction)
true
}
}.show()
Expand Down

0 comments on commit 611e19a

Please sign in to comment.