mirror of
https://github.com/lux-tel/session-ios.git
synced 2026-10-30 20:38:32 +00:00
• Updated to latest libSession • Updated code to use urls and strings from libSession • Split the profile and message pro feature bitsets • Fixed a bunch of warnings • Fixed a bug where the Toggle ListItemAccessory could swallow touches and make it appear as though something changed when it didn't • Fixed a bug where not all profile data was getting encoded/decoded
20 lines
690 B
Swift
20 lines
690 B
Swift
// Copyright © 2025 Rangeproof Pty Ltd. All rights reserved.
|
|
|
|
import Foundation
|
|
|
|
public enum SessionProUI {}
|
|
|
|
// MARK: - ClientPlatform
|
|
|
|
public extension SessionProUI {
|
|
enum ClientPlatform: Sendable, Equatable, CaseIterable {
|
|
case iOS
|
|
case android
|
|
|
|
public var device: String { SNUIKit.proClientPlatformStringProvider(for: self).device }
|
|
public var store: String { SNUIKit.proClientPlatformStringProvider(for: self).store }
|
|
public var platform: String { SNUIKit.proClientPlatformStringProvider(for: self).platform }
|
|
public var platformAccount: String { SNUIKit.proClientPlatformStringProvider(for: self).platformAccount }
|
|
}
|
|
}
|