Files
sodalive-ios/SodaLive/Sources/V2/CreatorChannel/Models/CreatorChannelTab.swift

31 lines
752 B
Swift

import Foundation
enum CreatorChannelTab: CaseIterable, Hashable {
case home
case live
case audio
case series
case community
case fanTalk
case donation
var title: String {
switch self {
case .home:
return I18n.CreatorChannelHome.home
case .live:
return I18n.CreatorChannelHome.live
case .audio:
return I18n.CreatorChannelHome.audio
case .series:
return I18n.CreatorChannelHome.series
case .community:
return I18n.CreatorChannelHome.community
case .fanTalk:
return I18n.CreatorChannelHome.fanTalk
case .donation:
return I18n.CreatorChannelHome.donation
}
}
}