simplified code across the app and consolidated duplicated helpers
This commit is contained in:
@@ -101,7 +101,6 @@ class PushMessageHandler {
|
||||
case PushKind.connect:
|
||||
await _handleConnect(
|
||||
message,
|
||||
foreground: foreground,
|
||||
notificationsEnabled: notificationsEnabled,
|
||||
);
|
||||
break;
|
||||
@@ -139,7 +138,6 @@ class PushMessageHandler {
|
||||
|
||||
Future<void> _handleConnect(
|
||||
RemoteMessage message, {
|
||||
required bool foreground,
|
||||
required bool notificationsEnabled,
|
||||
}) async {
|
||||
// Connect pushes carry no silent side effects, so nothing to do when the
|
||||
|
||||
Reference in New Issue
Block a user