mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
mobile: show unknown content with attached file as file item (for partial forward compatibility with voice and video messages) (#1394)
* mobile: show unknown content with attached file as file item (for partial forward compatibility with voice and video messages) * fix * android: show unknown files
This commit is contained in:
committed by
GitHub
parent
a8b9200c9a
commit
02fa81e8aa
@@ -1244,13 +1244,6 @@ public enum MsgContent {
|
||||
}
|
||||
}
|
||||
|
||||
public func isFile() -> Bool {
|
||||
switch self {
|
||||
case .file: return true
|
||||
default: return false
|
||||
}
|
||||
}
|
||||
|
||||
enum CodingKeys: String, CodingKey {
|
||||
case type
|
||||
case text
|
||||
|
||||
Reference in New Issue
Block a user