metatext/Extensions/ProfileCollection+Extensions.swift
Justin Mazzocchi 7f75b27ce2
Renaming
2020-09-26 19:03:53 -07:00

17 lines
484 B
Swift

// Copyright © 2020 Metabolist. All rights reserved.
import Foundation
import ViewModels
extension ProfileCollection {
var title: String {
switch self {
case .statuses:
return NSLocalizedString("account.statuses", comment: "")
case .statusesAndReplies:
return NSLocalizedString("account.statuses-and-replies", comment: "")
case .media:
return NSLocalizedString("account.media", comment: "")
}
}
}