mirror of
https://github.com/krille-chan/fluffychat
synced 2024-08-11 10:33:43 +00:00
chore: Change way how to seek in audioplayer
This commit is contained in:
parent
9b523b00a6
commit
0490195f44
1 changed files with 2 additions and 2 deletions
|
@ -223,8 +223,8 @@ class AudioPlayerState extends State<AudioPlayerWidget> {
|
|||
children: [
|
||||
for (var i = 0; i < AudioPlayerWidget.wavesCount; i++)
|
||||
Expanded(
|
||||
child: InkWell(
|
||||
onTap: () => audioPlayer?.seek(
|
||||
child: GestureDetector(
|
||||
onTapDown: (_) => audioPlayer?.seek(
|
||||
Duration(
|
||||
milliseconds:
|
||||
(maxPosition / AudioPlayerWidget.wavesCount)
|
||||
|
|
Loading…
Reference in a new issue