diff --git a/ios/Notification Service Extension/NotificationService.swift b/ios/Notification Service Extension/NotificationService.swift index 87f04a1dd..228ae7633 100644 --- a/ios/Notification Service Extension/NotificationService.swift +++ b/ios/Notification Service Extension/NotificationService.swift @@ -23,7 +23,7 @@ class NotificationService: UNNotificationServiceExtension { os_log("[HermesPushHelper] New message received") guard let roomId = bestAttemptContent.userInfo["room_id"] as? String, - let eventId = bestAttemptContent.userInfo["event_id"] as? String else { + let _ = bestAttemptContent.userInfo["event_id"] as? String else { os_log("[HermesPushHelper] Room ID or Event ID is missing!") let emptyContent = UNMutableNotificationContent() contentHandler(emptyContent) diff --git a/lib/utils/swipeable_page.dart b/lib/utils/swipeable_page.dart index ad0d9ad2f..b12945ba7 100644 --- a/lib/utils/swipeable_page.dart +++ b/lib/utils/swipeable_page.dart @@ -4,7 +4,7 @@ import 'package:flutter/cupertino.dart'; import 'package:flutter/gestures.dart'; import 'package:hermes/config/app_config.dart'; -/// A [Page] that wraps content in an iOS-style swipe-to-pop route. +/// A [Page] that wraps content in a swipe-to-pop route. class SwipePopPage extends Page { /// Creates a [SwipePopPage] that reads defaults from [AppConfig]. SwipePopPage({