Skip to content

Commit

Permalink
Remove unused enums
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyr-chekyrta committed Jan 4, 2024
1 parent d0706b0 commit 7b34aa2
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions Core/Core/Data/Model/Data_Dashboard.swift
Original file line number Diff line number Diff line change
Expand Up @@ -186,22 +186,6 @@ public extension DataLayer {
}
}

enum Name: String, Codable {
case courseImage = "Course Image"
}

enum Org: String, Codable {
case organization = "Organization"
case univerity = "Univerity"
case university = "University"
case unknown

public init(from decoder: Decoder) throws {
let rawValue = try decoder.singleValueContainer().decode(RawValue.self)
self = Org(rawValue: rawValue) ?? .unknown
}
}

// MARK: - CourseMode
struct CourseMode: Codable {
public let slug: Mode?
Expand Down

0 comments on commit 7b34aa2

Please sign in to comment.