fix: fixed action row not adding and causing issues

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
limited_dev 2023-05-11 08:06:40 +02:00
parent e5af032be8
commit 5abfad091d
4 changed files with 18 additions and 4 deletions

View file

@ -85,7 +85,12 @@ class NowPlayingExtension : Extension() {
) )
this.actionRow { this.actionRow {
ButtonUtil.getMusicControllerButtons(player.paused, gts.repeating) this.components.addAll(
ButtonUtil.getMusicControllerButtons(
player.paused,
gts.repeating
).components
)
} }
} }
} }

View file

@ -94,7 +94,6 @@ class PlayExtension : Extension() {
) )
} }
MusicManager.addToQueue(this, link, search) MusicManager.addToQueue(this, link, search)
} }
} }
} }

View file

@ -80,7 +80,12 @@ class QueueExtension : Extension() {
) )
this.actionRow { this.actionRow {
ButtonUtil.getMusicControllerButtons(player.paused, gts.repeating) this.components.addAll(
ButtonUtil.getMusicControllerButtons(
player.paused,
gts.repeating
).components
)
} }
} }
} }

View file

@ -108,7 +108,12 @@ class SkipExtension : Extension() {
) )
this.actionRow { this.actionRow {
ButtonUtil.getMusicControllerButtons(player.paused, gts.repeating) this.components.addAll(
ButtonUtil.getMusicControllerButtons(
player.paused,
gts.repeating
).components
)
} }
} }
} }