Skip to content

Commit

Permalink
fix: linter formatting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bouassaba committed Nov 24, 2024
1 parent 6815c4a commit 732e63b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions Sources/Screens/File/FileInfo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
8 changes: 7 additions & 1 deletion Sources/Screens/File/FileRename.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 732e63b

Please sign in to comment.