Add file media type to receiver selectors

This commit is contained in:
hensm
2019-07-09 16:04:11 +01:00
parent 70e05566fa
commit 615f158832
10 changed files with 141 additions and 29 deletions

View File

@@ -8,6 +8,7 @@ struct InitData : Codable {
let i18n_mediaTypeApp: String
let i18n_mediaTypeTab: String
let i18n_mediaTypeScreen: String
let i18n_mediaTypeFile: String
let i18n_mediaSelectCastLabel: String
let i18n_mediaSelectToLabel: String
}

View File

@@ -5,4 +5,5 @@ enum MediaType: Int, Codable {
case app = 1
case tab = 2
case screen = 4
case file = 8
}

View File

@@ -1,4 +1,5 @@
struct ReceiverSelection : Codable {
let receiver: Receiver
let mediaType: MediaType
let filePath: String?
}