Watch
1
0
Fork
You've already forked nexus
0
forked from Nexus/nexus

override webcrypto deps

This commit is contained in:
Henry Hiles 2026-08-25 20:18:47 -04:00
commit 11d83ee067
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
8 changed files with 25 additions and 24 deletions

View file

@ -38,18 +38,13 @@ class UnifiedPushController extends AsyncNotifier<bool> {
);
},
onMessage: (message, instance) async {
final e = await client.handlePush(
final event = await client.handlePush(
json.decode(String.fromCharCodes(message.content)),
);
print(e);
},
onRegistrationFailed: (e, r) {
throw "e";
print(event);
},
onRegistrationFailed: (error, instance) => throw error,
onUnregistered: (instance) => ref.invalidateSelf(),
onTempUnavailable: (instance) {
throw "t";
},
);
if (registered) {