Skip to content

Commit

Permalink
removed dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
EricBAndrews committed Jan 23, 2024
1 parent 099fe0b commit bf0b8e2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions Mlem/API/Models/Site/APIMyUserInfo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,3 @@ struct APIMyUserInfo: Decodable {
var localUserView: APILocalUserView
var discussionLanguages: [Int]
}

extension APIMyUserInfo: Equatable {
static func == (lhs: APIMyUserInfo, rhs: APIMyUserInfo) -> Bool {
lhs.localUserView.person.id == rhs.localUserView.person.id
}
}
1 change: 0 additions & 1 deletion Mlem/Models/Trackers/SiteInformationTracker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ class SiteInformationTracker: ObservableObject {
}
myUserInfo = response.myUser
allLanguages = response.allLanguages
print("DEBUG version loaded")
} catch {
errorHandler.handle(error)
}
Expand Down

0 comments on commit bf0b8e2

Please sign in to comment.