Kurdtvs-Live-Kurdish-TV-Kur.../Mastodon/Persistence/Extension/MastodonField.swift

22 lines
428 B
Swift
Raw Normal View History

//
// MastodonField.swift
// TwidereX
//
// Created by Cirno MainasuK on 2021-9-18.
// Copyright © 2021 Twidere. All rights reserved.
//
import Foundation
import CoreDataStack
import MastodonSDK
extension MastodonField {
public convenience init(field: Mastodon.Entity.Field) {
self.init(
name: field.name,
value: field.value,
verifiedAt: field.verifiedAt
)
}
}