Skip to content

Commit

Permalink
Fix image models
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanov91 committed Jul 24, 2024
1 parent a1499f3 commit 50a26ab
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Sources/OversizeModels/Error/CloudDocumentsErrors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ extension AppError.Enums.CloudDocuments: AppErrorProtocol {
}

public var image: Image? {
Image(.error)
Image("Error", bundle: .module)
}

public var icon: Image? {
Expand Down
2 changes: 1 addition & 1 deletion Sources/OversizeModels/Error/CloudKitErrors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ extension AppError.Enums.CloudKit: AppErrorProtocol {
}

public var image: Image? {
Image(.error)
Image("Error", bundle: .module)
}

public var icon: Image? {
Expand Down
2 changes: 1 addition & 1 deletion Sources/OversizeModels/Error/ContactsErrors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ extension AppError.Enums.Contacts: AppErrorProtocol {
}

public var image: Image? {
Image(.error)
Image("Error", bundle: .module)
}

public var icon: Image? {
Expand Down
2 changes: 1 addition & 1 deletion Sources/OversizeModels/Error/CoreDataErrors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ extension AppError.Enums.CoreData: AppErrorProtocol {
}

public var image: Image? {
Image(.error)
Image("Error", bundle: .module)
}

public var icon: Image? {
Expand Down
2 changes: 1 addition & 1 deletion Sources/OversizeModels/Error/EventKitErrors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ extension AppError.Enums.EventKit: AppErrorProtocol {
}

public var image: Image? {
Image(.error)
Image("Error", bundle: .module)
}

public var icon: Image? {
Expand Down
2 changes: 1 addition & 1 deletion Sources/OversizeModels/Error/FileManagerError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ extension AppError.Enums.FileManager: AppErrorProtocol {
}

public var image: Image? {
Image(.error)
Image("Error", bundle: .module)
}

public var icon: Image? {
Expand Down
2 changes: 1 addition & 1 deletion Sources/OversizeModels/Error/HealthKitErrors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ extension AppError.Enums.HealthKit: AppErrorProtocol {
}

public var image: Image? {
Image(.error)
Image("Error", bundle: .module)
}

public var icon: Image? {
Expand Down
2 changes: 1 addition & 1 deletion Sources/OversizeModels/Error/NetworkErrors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ extension AppError.Enums.NetworkError: AppErrorProtocol {

public var image: Image? {
switch self {
default: return Image(.error)
default: return Image("Error", bundle: .module)
}
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/OversizeModels/Error/NotificationsErrors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ extension AppError.Enums.Notification: AppErrorProtocol {
}

public var image: Image? {
Image(.error)
Image("Error", bundle: .module)
}

public var icon: Image? {
Expand Down

0 comments on commit 50a26ab

Please sign in to comment.