diff --git a/Sources/Screens/File/FileInfo.swift b/Sources/Screens/File/FileInfo.swift index ef3ebda..d0ba12f 100644 --- a/Sources/Screens/File/FileInfo.swift +++ b/Sources/Screens/File/FileInfo.swift @@ -103,6 +103,7 @@ struct FileInfo: View, ViewDataProvider, LoadStateProvider, TimerLifecycle, Toke Section(header: VOSectionHeader("Storage")) { VStack(alignment: .leading) { if let storageUsage = fileStore.storageUsage { + // swiftlint:disable:next line_length Text("\(storageUsage.bytes.prettyBytes()) of \(storageUsage.maxBytes.prettyBytes()) used") ProgressView(value: Double(storageUsage.percentage) / 100.0) } else { diff --git a/Sources/Screens/File/FileRename.swift b/Sources/Screens/File/FileRename.swift index 9d2c7cc..c2a5347 100644 --- a/Sources/Screens/File/FileRename.swift +++ b/Sources/Screens/File/FileRename.swift @@ -11,7 +11,13 @@ import SwiftUI import VoltaserveCore -struct FileRename: View, ViewDataProvider, LoadStateProvider, TimerLifecycle, TokenDistributing, FormValidatable, ErrorPresentable { +struct FileRename: View, + ViewDataProvider, + LoadStateProvider, + TimerLifecycle, + TokenDistributing, + FormValidatable, + ErrorPresentable { @EnvironmentObject private var tokenStore: TokenStore @StateObject private var fileStore = FileStore() @Environment(\.dismiss) private var dismiss