fix: Database corruption because notification tab isolate starts too late

This commit is contained in:
Christian Kußowski 2025-11-11 14:30:34 +01:00
commit 92fcfacfc4
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
2 changed files with 14 additions and 1 deletions

View file

@ -48,7 +48,7 @@ void notificationTapBackground(
) async {
Logs().i('Notification tap in background');
final sendPort = IsolateNameServer.lookupPortByName('background_tab_port');
final sendPort = IsolateNameServer.lookupPortByName('main_isolate');
if (sendPort != null) {
sendPort.send(notificationResponse.toJsonString());
return;