Quellcode durchsuchen

Apply suggestions from code review

Co-authored-by: Henry <thisisthefoxe@gmail.com>
Marino Faggiana vor 3 Jahren
Ursprung
Commit
bbdb3cb68d
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      iOSClient/Utility/NCContentPresenter.swift

+ 1 - 1
iOSClient/Utility/NCContentPresenter.swift

@@ -97,7 +97,7 @@ class NCContentPresenter: NSObject {
     
     private func flatTop(title: String, description: String, delay: TimeInterval, imageName: String?, type: messageType, priority: EKAttributes.Precedence.Priority = .normal, dropEnqueuedEntries: Bool = false) {
      
-        if SwiftEntryKit.isCurrentlyDisplaying(entryNamed: title+description) { return }
+        if SwiftEntryKit.isCurrentlyDisplaying(entryNamed: title + description) { return }
         
         var attributes = EKAttributes.topFloat
         var image: UIImage?