Skip to content

Commit

Permalink
refactor: Update app titles to include "Spinify"
Browse files Browse the repository at this point in the history
  • Loading branch information
PlugFox committed Aug 17, 2024
1 parent 8513b08 commit 44f210c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 31 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,7 @@ config.json

# Binaries for programs and plugins
*.exe
*.exe~
*.exe~

# Firebase
.firebase/
30 changes: 0 additions & 30 deletions benchmark/.firebase/hosting.YnVpbGRcd2Vi.cache

This file was deleted.

8 changes: 8 additions & 0 deletions lib/src/transport_ws_pb_js.dart
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,14 @@ Future<ISpinifyTransport> $create$WS$PB$Transport({
});
});

/* socket.onmessage = (web.MessageEvent event) {
final data = event.data;
eventQueue.add(() async {
if (transport == null || transport.disconnected) return;
final bytes = await _blobCodec.read(data);
transport._onData(bytes);
});
}.toJS; */
onMessage = socket.onMessage.listen((event) {
eventQueue.add(() async {
final bytes = await _blobCodec.read(event.data);
Expand Down

0 comments on commit 44f210c

Please sign in to comment.