forked from shadowfacts/Tusker
27 lines
478 B
Swift
27 lines
478 B
Swift
//
|
|
// Visibility+String.swift
|
|
// Tusker
|
|
//
|
|
// Created by Shadowfacts on 8/29/18.
|
|
// Copyright © 2018 Shadowfacts. All rights reserved.
|
|
//
|
|
|
|
import Pachyderm
|
|
|
|
extension Status.Visibility {
|
|
|
|
var displayName: String {
|
|
switch self {
|
|
case .public:
|
|
return "Public"
|
|
case .unlisted:
|
|
return "Unlisted"
|
|
case .private:
|
|
return "Private"
|
|
case .direct:
|
|
return "Direct"
|
|
}
|
|
}
|
|
|
|
}
|