chore: Use wooden beaver sound

This commit is contained in:
Krille Fear 2022-01-22 11:20:56 +01:00
parent 530722f2e6
commit 7025cdf157
4 changed files with 4 additions and 1 deletions

View File

@ -53,4 +53,6 @@ https://gitlab.com/famedly/fluffychat/-/wikis/How-To-Build
* <a href="https://github.com/googlefonts/noto-emoji/">Noto Emoji Font</a> for the awesome emojis.
* <a href="https://github.com/madsrh/WoodenBeaver">WoodenBeaver</a> sound theme for the notification sound.
* The Matrix Foundation for making and maintaining the [emoji translations](https://github.com/matrix-org/matrix-doc/blob/main/data-definitions/sas-emoji.json) used for emoji verification, licensed Apache 2.0

Binary file not shown.

View File

@ -35,7 +35,8 @@ extension LocalNotificationsExtension on MatrixState {
width: 64, height: 64, method: ThumbnailMethod.crop);
if (kIsWeb) {
html.AudioElement()
..src = 'assets/assets/sounds/notification.wav'
..src =
'assets/assets/sounds/WoodenBeaver_stereo_message-new-instant.ogg'
..autoplay = true
..load();
html.Notification(