24 lines
487 B
Swift
24 lines
487 B
Swift
import Foundation
|
|
|
|
enum SharingAction: Stateable {
|
|
case showSharing(Bool)
|
|
|
|
case shareLocation(lat: Double, lon: Double)
|
|
|
|
case shareContact(jid: String)
|
|
|
|
case shareDocuments([Data])
|
|
|
|
// case sendAttachment([ShareItem])
|
|
// case sendAttachmentDone
|
|
// case sendAttachmentError(reason: String)
|
|
}
|
|
|
|
// struct ShareItem: Stateable {
|
|
// let id: String
|
|
// let type: AttachmentType
|
|
// let data: Data
|
|
// let thumbnail: Data
|
|
// let string: String
|
|
// }
|