mirror of
https://github.com/lux-tel/session-ios.git
synced 2026-10-30 20:38:32 +00:00
Refactored the AppDelegate from Objective C to Swift Updated the HomeVC to use GRDB Refactored a number of the Job types to be driven via GRDB and the new JobRunner Fixed a bug where the LinkPreviewView wouldn't render correctly in dark mode
10 lines
319 B
Swift
10 lines
319 B
Swift
// Copyright © 2022 Rangeproof Pty Ltd. All rights reserved.
|
|
|
|
import Foundation
|
|
|
|
public extension Decodable {
|
|
static func decoded<CodingKeys: CodingKey>(with container: KeyedDecodingContainer<CodingKeys>, forKey key: CodingKeys) throws -> Self {
|
|
return try container.decode(Self.self, forKey: key)
|
|
}
|
|
}
|