mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-19 12:56:06 +00:00
Add Trust Revoke View
This commit is contained in:
1 parent
448cc15a7e
commit
d3dc89f412
10 files changed
+2438
-1467
No files matched your search
@@ -46,10 +46,10 @@ public protocol OutboundAppDelegate: AnyObject {
|
||||
}
|
||||
|
||||
|
||||
public struct RemoteDeviceInfo: Identifiable, Equatable {
|
||||
public struct RemoteDeviceInfo: Codable, Identifiable, Equatable {
|
||||
public let name: String?
|
||||
public let type: DeviceType
|
||||
public let qrCodeData:Data?
|
||||
public let qrCodeData: Data?
|
||||
public var id: String?
|
||||
|
||||
init(name: String, type: DeviceType, id: String? = nil) {
|
||||
@@ -67,7 +67,7 @@ public struct RemoteDeviceInfo: Identifiable, Equatable {
|
||||
}
|
||||
|
||||
|
||||
public enum DeviceType: Int32 {
|
||||
public enum DeviceType: Int32, Codable {
|
||||
case unknown = 0
|
||||
case phone
|
||||
case tablet
|
||||
|
||||
Reference in new issue
Block a user