Annoying swift lint

pull/2269/head
Steven Lageveen 2 weeks ago
parent d99affcf6a
commit ed143c0815

@ -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)

@ -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<T> extends Page<T> {
/// Creates a [SwipePopPage] that reads defaults from [AppConfig].
SwipePopPage({

Loading…
Cancel
Save