25 lines
633 B
Swift
25 lines
633 B
Swift
//
|
|
// SettingsSection.swift
|
|
// Mastodon
|
|
//
|
|
// Created by MainasuK Cirno on 2021-4-25.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
enum SettingsSection: Hashable {
|
|
case apperance
|
|
case notifications
|
|
case boringZone
|
|
case spicyZone
|
|
|
|
var title: String {
|
|
switch self {
|
|
case .apperance: return L10n.Scene.Settings.Section.Appearance.title
|
|
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
|
|
}
|
|
}
|
|
}
|