We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce6a593 commit 1a5a9f5Copy full SHA for 1a5a9f5
app/src/main/java/live/mehiz/mpvkt/ui/player/PlayerViewModel.kt
@@ -64,7 +64,7 @@ class PlayerViewModel(
64
try {
65
val buttons = mpvKtDatabase.customButtonDao().getCustomButtons().first()
66
buttons.firstOrNull { it.id == playerPreferences.primaryCustomButtonId.get() }?.let {
67
- _primaryButton.update { it }
+ _primaryButton.update { _ -> it }
68
// If the button text is not empty, it has been set buy a lua script in which
69
// case we don't want to override it
70
if (_primaryButtonTitle.value.isEmpty()) {
0 commit comments