android: move chat item menu info action above stop file action (#2725)

This commit is contained in:
spaced4ndy
2023-07-19 20:49:25 +04:00
committed by GitHub
parent f5612504f5
commit ab708f8855

View File

@@ -226,10 +226,10 @@ fun ChatItemView(
}
)
}
ItemInfoAction(cInfo, cItem, showItemDetails, showMenu)
if (cItem.meta.itemDeleted == null && cItem.file != null && cItem.file.cancelAction != null) {
CancelFileItemAction(cItem.file.fileId, showMenu, cancelFile = cancelFile, cancelAction = cItem.file.cancelAction)
}
ItemInfoAction(cInfo, cItem, showItemDetails, showMenu)
if (!(live && cItem.meta.isLive)) {
DeleteItemAction(cItem, showMenu, questionText = deleteMessageQuestionText(), deleteMessage)
}