mastodon-ios/Mastodon/Diffiable/Section/SettingsSection.swift

27 lines
724 B
Swift
Raw Normal View History

//
// SettingsSection.swift
// Mastodon
//
// Created by MainasuK Cirno on 2021-4-25.
//
import Foundation
enum SettingsSection: Hashable {
2021-06-30 14:11:38 +02:00
case appearance
2021-07-05 10:07:17 +02:00
case appearanceSettings
case notifications
case boringZone
case spicyZone
var title: String {
switch self {
2021-07-05 10:07:17 +02:00
case .appearance: return L10n.Scene.Settings.Section.Appearance.title
case .appearanceSettings: return ""
case .notifications: return L10n.Scene.Settings.Section.Notifications.title
case .boringZone: return L10n.Scene.Settings.Section.Boringzone.title
case .spicyZone: return L10n.Scene.Settings.Section.Spicyzone.title
}
}
}