mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Prepare sending videos.
This commit is contained in:
@@ -1899,11 +1899,11 @@ public class ChatMessageCell extends BaseCell implements SeekBar.SeekBarDelegate
|
||||
durationLayout.draw(canvas);
|
||||
canvas.restore();
|
||||
|
||||
if (!currentMessageObject.isOutOwner() && currentMessageObject.isUnread()) {
|
||||
/*if (!currentMessageObject.isOutOwner() && currentMessageObject.isUnread()) {
|
||||
// mark unread incoming messages with a little dot (only works if we mark the voice messages as being read only if heard)
|
||||
docBackPaint.setColor(Theme.MSG_AUDIO_SEEKBAR_DARK_COLOR);
|
||||
canvas.drawCircle(timeAudioX + timeWidthAudio + dp(6), dp(51) + namesOffset + mediaOffsetY, dp(4), docBackPaint);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
if (currentMessageObject.type == MessageObject.MO_TYPE1_PHOTO || documentAttachType == DOCUMENT_ATTACH_TYPE_VIDEO) {
|
||||
|
||||
@@ -478,7 +478,6 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
||||
}
|
||||
}
|
||||
else{
|
||||
Toast.makeText(getParentActivity(), LocaleController.getString("NotYetImplemented", R.string.NotYetImplemented), Toast.LENGTH_SHORT).show();
|
||||
actionBar.hideActionMode();
|
||||
updateVisibleRows();
|
||||
}
|
||||
@@ -1247,7 +1246,6 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
||||
});
|
||||
presentFragment(fragment);
|
||||
} else if (which == ChatAttachAlert.ATTACH_BUTTON_IDX_VIDEO) {
|
||||
Toast.makeText(getParentActivity(), LocaleController.getString("NotYetImplemented", R.string.NotYetImplemented), Toast.LENGTH_SHORT).show();
|
||||
try {
|
||||
Intent takeVideoIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
|
||||
File video = AndroidUtilities.generateVideoPath();
|
||||
|
||||
Reference in New Issue
Block a user