mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Various improvements
This commit is contained in:
@@ -15,7 +15,11 @@ private func makeEntityView(context: AccountContext, entity: DrawingEntity) -> D
|
||||
} else if let entity = entity as? DrawingSimpleShapeEntity {
|
||||
return DrawingSimpleShapeEntityView(context: context, entity: entity)
|
||||
} else if let entity = entity as? DrawingStickerEntity {
|
||||
return DrawingStickerEntityView(context: context, entity: entity)
|
||||
if case let .file(_, type) = entity.content, case .reaction = type {
|
||||
return DrawingReactionEntityView(context: context, entity: entity)
|
||||
} else {
|
||||
return DrawingStickerEntityView(context: context, entity: entity)
|
||||
}
|
||||
} else if let entity = entity as? DrawingTextEntity {
|
||||
return DrawingTextEntityView(context: context, entity: entity)
|
||||
} else if let entity = entity as? DrawingVectorEntity {
|
||||
|
||||
Reference in New Issue
Block a user