fix: fixed action row not adding and causing issues
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
parent
e5af032be8
commit
5abfad091d
4 changed files with 18 additions and 4 deletions
|
@ -85,7 +85,12 @@ class NowPlayingExtension : Extension() {
|
|||
)
|
||||
|
||||
this.actionRow {
|
||||
ButtonUtil.getMusicControllerButtons(player.paused, gts.repeating)
|
||||
this.components.addAll(
|
||||
ButtonUtil.getMusicControllerButtons(
|
||||
player.paused,
|
||||
gts.repeating
|
||||
).components
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -94,7 +94,6 @@ class PlayExtension : Extension() {
|
|||
)
|
||||
}
|
||||
MusicManager.addToQueue(this, link, search)
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -80,7 +80,12 @@ class QueueExtension : Extension() {
|
|||
)
|
||||
|
||||
this.actionRow {
|
||||
ButtonUtil.getMusicControllerButtons(player.paused, gts.repeating)
|
||||
this.components.addAll(
|
||||
ButtonUtil.getMusicControllerButtons(
|
||||
player.paused,
|
||||
gts.repeating
|
||||
).components
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -108,7 +108,12 @@ class SkipExtension : Extension() {
|
|||
)
|
||||
|
||||
this.actionRow {
|
||||
ButtonUtil.getMusicControllerButtons(player.paused, gts.repeating)
|
||||
this.components.addAll(
|
||||
ButtonUtil.getMusicControllerButtons(
|
||||
player.paused,
|
||||
gts.repeating
|
||||
).components
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue