mirror of
https://github.com/ninxsoft/Mist.git
synced 2025-05-19 01:35:24 -04:00
Fix linter warnings
This commit is contained in:
parent
cbd75ab92b
commit
1a69693b07
3 changed files with 6 additions and 3 deletions
|
@ -9,7 +9,8 @@ import Blessed
|
|||
import SwiftUI
|
||||
|
||||
struct AppCommands: Commands {
|
||||
@Environment(\.openURL) var openURL: OpenURLAction
|
||||
@Environment(\.openURL)
|
||||
var openURL: OpenURLAction
|
||||
@ObservedObject var sparkleUpdater: SparkleUpdater
|
||||
@Binding var refreshing: Bool
|
||||
@Binding var downloadInProgress: Bool
|
||||
|
|
|
@ -9,7 +9,8 @@ import SwiftUI
|
|||
|
||||
// swiftlint:disable:next type_body_length
|
||||
struct RefreshView: View {
|
||||
@Environment(\.presentationMode) var presentationMode: Binding<PresentationMode>
|
||||
@Environment(\.presentationMode)
|
||||
var presentationMode: Binding<PresentationMode>
|
||||
@Binding var firmwares: [Firmware]
|
||||
@Binding var installers: [Installer]
|
||||
@State private var firmwaresState: RefreshState = .pending
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
import SwiftUI
|
||||
|
||||
struct SettingsAboutView: View {
|
||||
@Environment(\.openURL) var openURL: OpenURLAction
|
||||
@Environment(\.openURL)
|
||||
var openURL: OpenURLAction
|
||||
private var version: String {
|
||||
Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? ""
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue