Fix SwiftLinter warnings

This commit is contained in:
Nindi Gill 2023-04-16 16:00:01 +10:00
parent bf3f675b80
commit c3583359ea
No known key found for this signature in database
GPG key ID: FF9A7FD590D4F4B1
14 changed files with 90 additions and 45 deletions

View file

@ -10,7 +10,8 @@ import SwiftUI
@main
struct MistApp: App {
// swiftlint:disable:next weak_delegate
@NSApplicationDelegateAdaptor(AppDelegate.self) var appDelegate: AppDelegate
@NSApplicationDelegateAdaptor(AppDelegate.self)
var appDelegate: AppDelegate
@StateObject var sparkleUpdater: SparkleUpdater = SparkleUpdater()
@State private var refreshing: Bool = false
@State private var downloadInProgress: Bool = false