mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
refactor and cleanup [skip ci]
This commit is contained in:
13
submodules/Postbox/Sources/PreferencesEntry.swift
Normal file
13
submodules/Postbox/Sources/PreferencesEntry.swift
Normal file
@@ -0,0 +1,13 @@
|
||||
import Foundation
|
||||
|
||||
public protocol PreferencesEntry: PostboxCoding {
|
||||
var relatedResources: [MediaResourceId] { get }
|
||||
|
||||
func isEqual(to: PreferencesEntry) -> Bool
|
||||
}
|
||||
|
||||
public extension PreferencesEntry {
|
||||
var relatedResources: [MediaResourceId] {
|
||||
return []
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user