metatext/Extensions/ProfileCollection+Extensions.swift

18 lines
484 B
Swift
Raw Normal View History

2020-09-22 06:53:11 +00:00
// Copyright © 2020 Metabolist. All rights reserved.
import Foundation
import ViewModels
2020-09-27 02:03:53 +00:00
extension ProfileCollection {
2020-09-22 06:53:11 +00:00
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: "")
}
}
}