fix: use .mp3 instead of .ogg to resolve click sound error on iOS (#1513)
This commit is contained in:
parent
f59b31ce9c
commit
f7a7987277
3 changed files with 1 additions and 1 deletions
BIN
assets/sounds/click.mp3
Normal file
BIN
assets/sounds/click.mp3
Normal file
Binary file not shown.
Binary file not shown.
|
|
@ -11,7 +11,7 @@ class ClickPlayer {
|
|||
|
||||
Future<void> play() async {
|
||||
await _player.stop();
|
||||
_player.play(AssetSource('sounds/click.ogg'));
|
||||
_player.play(AssetSource('sounds/click.mp3'));
|
||||
}
|
||||
|
||||
void dispose() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue